Bug#722252: lapack: -Bsymbolic-functions prevents override of xerblas_
Mike Miller
mtmiller at ieee.org
Mon Sep 16 20:47:18 UTC 2013
On Mon, Sep 16, 2013 at 22:29:18 +0200, Sébastien Villemot wrote:
> Le lundi 16 septembre 2013 à 21:39 +0200, Julian Taylor a écrit :
>> On 16.09.2013 16:51, Mike Miller wrote:
>> > On Wed, Sep 11, 2013 at 11:50:36 +0200, Julian Taylor wrote:
>> >>
>> >> I committed a fix + autopkgtests to svn.
>> >> I went with stripping the flag, --dynamic-list does not seem work with
>> >> the gold linker :(
>> >
>> > Hi Julian, thanks for this bug and fix. The blas library also contains
>> > its own xerbla routine, I suspect it is equally susceptible to this
>> > problem on Ubuntu and other derivatives. Should bugs be filed and
>> > equivalent changes made to the blas, atlas, and openblas packages? Are
>> > there any other variants that I haven't listed?
>> >
>>
>> yes in principle all blas packages can be affected by this, but only
>> lapack uses the hardening flags and thus -Wl,-Bsymbolic-functions.
>> To be safe it should probably be preemptively stripped from all and
>> tests added, numpy or scipy is a good place to test it, as it tries its
>> tests with all blas options (in ubuntu).
Ok, you're right, sorry I missed that detail. Though to be clear, I
think you mean it is because debian/rules doesn't use LDFLAGS from
dpkg-buildflags, it doesn't necessarily have to do with the hardening
option.
> Note that I plan to introduce soon hardening flags in blas (and possibly
> atlas and openblas, though it will be harder). I'll try no to forget
> this issue when doing so.
Good to know, I'll keep an eye out for that.
Thanks to you both for your comments.
--
mike
More information about the debian-science-maintainers
mailing list