Re: static libperl? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: static libperl?
Date
Msg-id 8718.1124915050@sss.pgh.pa.us
Whole thread Raw
In response to static libperl?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: static libperl?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 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

> /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

I've fixed Makefile.freebsd to assert allow_nonpic_in_shlib only on
i386; that should solve the above problem (by keeping platypus from
trying to build plperl :-().  It may be there are some other
architectures we can safely set allow_nonpic_in_shlib for, but I don't
know exactly which.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: TODO questions
Next
From: Tom Lane
Date:
Subject: Re: TODO questions