static libperl? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject static libperl?
Date
Msg-id 430242FD.2060906@dunslane.net
Whole thread Raw
Responses Re: static libperl?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: static libperl?  (Johnny Lam <jlam@NetBSD.org>)
Re: static libperl?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Earlier today I noticed these lines in this buildfarm log 
http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=platypus&dt=2005-08-16%2002:05:00

ccache gcc -O3 -pipe -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g -fPIC -DPIC
-shared-Wl,-x,-soname,libplperl.so.0  plperl.o spi_internal.o SPI.o -L/usr/local/lib
-L/usr/local/lib/perl5/5.6.1/mach/CORE-L../../../src/port -L/usr/local/lib -Wl,-E
/usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a-lperl -lm -lc -lcrypt -lutil
-Wl,-R/usr/local/lib/perl5/5.6.1/mach/CORE-o libplperl.so.0
 
/usr/bin/ld: /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o): relocation R_X86_64_32S can not be used when
makinga shared object; recompile with -fPIC
 
/usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could not read symbols: Bad value


Does that mean that we are attempting to link against a static libperl.a? I thought we were supposed to inhibit that.

Or am I misreading?

cheers

andrew




pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: pl/Ruby, deprecating plPython and Core
Next
From: Bruce Momjian
Date:
Subject: Release notes for 8.1