FS#12464 - blas 20070405-1: /usr/lib/libblas.so.3.0.3 contains TEXT relocations on x86
Attached to Project:
Arch Linux
Opened by Markus Dittrich (markusle) - Monday, 15 December 2008, 18:58 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 30 December 2008, 12:50 GMT
Opened by Markus Dittrich (markusle) - Monday, 15 December 2008, 18:58 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 30 December 2008, 12:50 GMT
|
Details
Description:
The libblas.so.3.0.3 shared object for x86 contains text relocations. Text relocations in shared objects should be avoided since they require the kernel to do more work during loading and also constitute a potential security risk. Solution: Since arch only ships shared libs and no static ones, the x86 objects linked into the so should be compiled with -fPIC. The current PKGBUILD does this already for x86_64. Is there any reason why this is not also done for x86? Thanks much for considering this request. Best, Markus |
This task depends upon
Closed by Ronald van Haren (pressh)
Tuesday, 30 December 2008, 12:50 GMT
Reason for closing: Implemented
Tuesday, 30 December 2008, 12:50 GMT
Reason for closing: Implemented
As for -fPIC in general and in particular on x86, quite often it slows things down instead of speeding things up (I have not looked into this particular package yet). Do you have any benchmarks and statements to backup your claim for this package?
Thank you,
Markus