On 12/22/2021 9:59 pm, Tom Lane wrote:
Larry Rosenman <l...@lerctr.org> writes:
On 12/22/2021 9:34 pm, Tom Lane wrote:
What configure options did you use?

config_opts =>[
         qw(
           --enable-cassert
           --enable-debug
           --enable-nls
           --enable-tap-tests
           --with-perl
           )
     ],

Does it work if you drop --enable-nls?  (It'd likely be worth fixing
if so, but I'm trying to narrow the possible causes.)

                        regards, tom lane


Nope...

gmake[3]: Leaving directory '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/contrib/dummy_seclabel'
cp ../../../contrib/dummy_seclabel/dummy_seclabel.so dummy_seclabel.so
cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-sometimes-uninitialized -g -fPIC -DPIC -L../../src/port -L/usr/local/lib -Wl,--as-needed -Wl,-R'/home/pgbuildfarm/buildroot/REL9_2_STABLE/inst/lib' -L../../src/port -lpgport -shared -o moddatetime.so moddatetime.o cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-sometimes-uninitialized -g -fPIC -DPIC -L../../src/port -L/usr/local/lib -Wl,--as-needed -Wl,-R'/home/pgbuildfarm/buildroot/REL9_2_STABLE/inst/lib' -L../../src/port -lpgport -shared -o insert_username.so insert_username.o cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-sometimes-uninitialized -g -fPIC -DPIC -L../../src/port -L/usr/local/lib -Wl,--as-needed -Wl,-R'/home/pgbuildfarm/buildroot/REL9_2_STABLE/inst/lib' -L../../src/port -lpgport -shared -o autoinc.so autoinc.o cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-sometimes-uninitialized -g -fPIC -DPIC -L../../src/port -L/usr/local/lib -Wl,--as-needed -Wl,-R'/home/pgbuildfarm/buildroot/REL9_2_STABLE/inst/lib' -L../../src/port -lpgport -shared -o timetravel.so timetravel.o cc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-sometimes-uninitialized -g -fPIC -DPIC -L../../src/port -L/usr/local/lib -Wl,--as-needed -Wl,-R'/home/pgbuildfarm/buildroot/REL9_2_STABLE/inst/lib' -L../../src/port -lpgport -shared -o refint.so refint.o ld: error: relocation R_X86_64_PC32 cannot be used against symbol _CurrentRuneLocale; recompile with -fPIC
defined in /lib/libc.so.7
referenced by pgstrcasecmp.c:37
pgstrcasecmp.o:(pg_strcasecmp) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol __mb_sb_limit; recompile with -fPIC
defined in /lib/libc.so.7
referenced by pgstrcasecmp.c:37
pgstrcasecmp.o:(pg_strcasecmp) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol _CurrentRuneLocale; recompile with -fPIC
defined in /lib/libc.so.7
referenced by pgstrcasecmp.c:70
pgstrcasecmp.o:(pg_strncasecmp) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol __mb_sb_limit; recompile with -fPIC
defined in /lib/libc.so.7
referenced by pgstrcasecmp.c:70
pgstrcasecmp.o:(pg_strncasecmp) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol __mb_sb_limit; recompile with -fPIC
defined in /lib/libc.so.7
referenced by pgstrcasecmp.c:109
pgstrcasecmp.o:(pg_toupper) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol _CurrentRuneLocale; recompile with -fPIC
defined in /lib/libc.so.7
referenced by runetype.h:0 (/usr/include/runetype.h:0)
pgstrcasecmp.o:(pg_toupper) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol __mb_sb_limit; recompile with -fPIC
defined in /lib/libc.so.7
referenced by pgstrcasecmp.c:126
pgstrcasecmp.o:(pg_tolower) in archive ../../src/port/libpgport.a

ld: error: relocation R_X86_64_PC32 cannot be used against symbol _CurrentRuneLocale; recompile with -fPIC
defined in /lib/libc.so.7
referenced by runetype.h:0 (/usr/include/runetype.h:0)
pgstrcasecmp.o:(pg_tolower) in archive ../../src/port/libpgport.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [../../src/Makefile.port:20: timetravel.so] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm moddatetime.o autoinc.o refint.o timetravel.o insert_username.o
gmake[3]: Leaving directory '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/contrib/spi'
gmake[2]: *** [GNUmakefile:126: submake-contrib-spi] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src/test/regress'
gmake[1]: *** [Makefile:33: all-test/regress-recurse] Error 2
gmake[1]: Leaving directory '/home/pgbuildfarm/buildroot/REL9_2_STABLE/pgsql.build/src'
gmake: *** [GNUmakefile:11: all-src-recurse] Error 2
$


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106


Reply via email to