[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#169758: libc6: muldiv should be important hwcap on sparc32 (and hwcap needs doc)



tags 169758 woody
tags 169758 wontfix
thanks

At 19 Nov 2002 15:24:40 +0000,
Dave Love wrote:
> Dynamic loading on sparc32 doesn't currently look for SPARC
> v8-specific libraries, which are particularly important for openssl
> (speeding up some of the cryptography by factors of several).  For
> that reason, I think it rates as bug rather than wishlist, and sparc32
> users like me would be greatful for an early Debian fix.
> 
> This happens because the `muldiv' hwcap isn't considered `important'.
> It looks as though the following patch is what's required.  I haven't
> tried to rebuild with it, but if I set LD_HWCAP_MASK=56 in the
> environment, libraries are found in /usr/lib/muldiv.
> [(HWCAP_SPARC_V9|HWCAP_SPARC_ULTRA3|HWCAP_SPARC_MULDIV) = 56.]
> 
> As far as I can tell, there's a complete lack of doc on the hwcap and
> multilib features.  I think they should be documented in ldconfig(8)
> and ld.so(8).  I'm not sure I understand sufficiently to provide
> patches.

Joshk told me that sparc32 muldiv is currently ignored to search
/usr/lib/muldiv, and this patch should fix that problem.

But in sarge, Ben Collins decided to drop old sparc which does not
support hardware muldiv.  It means this proposed patch is
automatically unusable.  I don't know this patch makes sense even if
debian does not support hardware muldiv.

Regards,
-- gotom



Reply to: