On Fri, 2025-09-12 at 21:18 +0200, Michał Górny wrote:
> Here's my "second approximation" to the idea of using sci-libs/flexiblas
> as the system LAPACK provider.  It is USE flag based rather than
> unconditional to make it possible to test it without immediately
> removing the existing system.

One more note: the limitation of this approximation is that packages end
up with libflexiblas.so.3 in DT_NEEDED.  In other words, you can switch
from eselect-ldso to flexiblas without breaking anything, but anything
built after the switch will need to rebuilt after switching back.

This is not a problem for the final switch, but it is annoyance for
the testing / transition period.  Not sure if it's worth fixing though.

My gut feeling is that in order to fix this we'd also have to create
a bunch of libblas.so.3, liblapack.so.3, etc. libraries that reexport
specific sets of symbols from libflexiblas.  We'd have to be precise
about which symbols belong to which library, as otherwise packages would
end up underlinking.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to