Bob Friesenhahn wrote:
>> Uhm, why is that a problem? If libtool did a check which ABI it's
>> actually
>> compiling/linking for, it could always prepend the appropriate path, no?
> 
> 
> That sounds like a good plan.  Unfortunately, libtool does not appear to
> check ABIs while linking.  Instead it uses the first library that it finds.

I know, that's why I reported this bug :P Is there anything that prevents it
from checking the current ABI and comparing it with the ABI of the library in
question?

> A longer term approach would be to encode the ABI into the .la files so
> that .la files with the wrong ABI can be quickly skipped without
> inspecting the associated library.

That of course would be the best way to go.

-- 
Kind Regards,

Simon Stelling
Gentoo/AMD64 Developer


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to