[OpenAFS] jafs et al

Russ Allbery rra@stanford.edu
Tue, 13 Mar 2007 08:15:04 -0700


Derrick J Brashear <shadow@dementia.org> writes:
> On Tue, 13 Mar 2007, Peter Somogyi wrote:

>> IIRC I had problems on platforms like ppc[64] and s390x with pic stuff
>> (one crashes runtime if you don't turn on pic, other didn't allow
>> mixing pic and non-pic or something like that). So please modify _only_
>> that platform which you are testing.

> So, why not just not mix pic and non pic and still only build what you
> need pic?

It's worth noting that the AFS Perl module has the same problem, and this
is the reason why it's not yet packaged for Debian.  All the libraries it
links against would need to be built PIC, and unfortunately that includes
various libraries that are not part of libafsauthent or libafsrpc.

I've looked a couple of times at what would be involved in building the
right things PIC, and I think it's doable, but it's annoying.  And I'm not
sure if it's enough stuff for worries about performance problems to arise.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>