Felix Kühling wrote:
> Am Dienstag, den 14.03.2006, 18:59 -0800 schrieb Mike Mestnik:
>> Great!
>> Any reason why prelink complains about non-PIC libGL?  I think you need
>> to add -fPIC somewhere.
> 
> That's not my fault. I use the build system pretty much from up-stream.
> There are reasons why libGL is not position independent. They have been
> discussed at length on the mailing lists. You'll find it in the archives
> and/or in bugzilla. I'm not too familiar with the details but IIRC it
> had something to do with the efficiency of dispatch stubs. My
> understanding from those emails is that making them position independent
> incurs a run-time performance penalty that wasn't considered to be worth
> the benefit of faster loading or better security on hardened systems.
> Don't quote me on this, I really didn't follow those discussions very
> thoroughly. ;-)

I haven't seen any significant performance changes after switching all
Gentoo mesa builds over to -fPIC. It's just a matter of adding
'PIC_FLAGS = -fPIC' to the config.

HTH,
Donnie

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to