[rescue] Odd SBUS cards - anyone want?

Michael-John Turner mj at turner.org.za
Mon Apr 10 14:59:33 CDT 2006


On Mon, Apr 10, 2006 at 11:15:20AM -0400, Charles Shannon Hendrix wrote:
> NetBSD defaults to V6 CPU optimizatin.  The V6 doesn't have hardware
> floating point.

Well, strictly speaking, the system is compiled for SPARCv7, the lowest
common instruction set of SPARC systems. SPARCv8 and later have hardware
multiply and divide.

> I think they've started shipping NetBSD with a dynamic linker that picks
> a CPU dependent version of the important libraries, at least on SPARC.
> That partially solves the problem.

Kinda - see /etc/ld.so.conf. If the CPU supports SPARCv8 instructions, a
shared library which uses those instructions (libsparc_v8) is loaded and it
makes sure those instructions are used by the C-library for key calls. As
noted, it makes a big difference for things like ssh.

-mj
-- 
Michael-John Turner | http://weblogs.turner.org.za/mj/
mj at turner.org.za    | Open Source in WC ZA - http://www.clug.org.za/



More information about the rescue mailing list