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

Re: hwcap supporting architectures?



At Thu, 13 Jan 2005 09:05:43 +0100,
Falk Hueffner wrote:
> > If other libraries
> > like mesa and libssl want to use /usr/lib/ev67 and so on, we may
> > consider to add HWCAP_IMPORTANT. 
> 
> This should not be needed, since the library loader also looks in a directory
> corresponding to the architecture name. The only problem with this

Thanks for your follow up, you're right.  Your patch has
sysdeps/alpha/dl-procinfo.h.

> occurs when you have for example an ev56 library in lib/ev56, and a ev67
> CPU. Then the loader looks in lib/ev67 and then falls back to lib. Since
> glibc is very carefully undocumented in this area [1], I didn't want to try to
> change this, but rather assumed one could add a symlink.

Yes, and if ev67 is instruction upper compatible with ev56 (I guess
so), I think it's acceptable to add a symlink "ln -sf
lib/ev67/libfoo.so lib/ev56/libfoo.so".

Regards,
-- gotom



Reply to: