Subject: port-sparc/3597: sparc boot won't build; unresolved reference to memset()
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@atomic.clock.org>
List: netbsd-bugs
Date: 05/10/1997 03:14:23
>Number:         3597
>Category:       port-sparc
>Synopsis:       sparc boot won't build; unresolved reference to memset()
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 10 03:20:01 1997
>Last-Modified:
>Originator:     Erik E. Fair
>Organization:
International Organization of Internet Clock Watchers
>Release:        NetBSD-current May 9, 1997
>Environment:

System: NetBSD atomic.clock.org 1.2D NetBSD 1.2D (GENERIC) #42: Wed Apr 23 08:06:27 PDT 1997 root@atomic.clock.org:/usr/src/sys/arch/sparc/compile/GENERIC sparc


>Description:
	The new MD4 and MD5 routines in libkern.o have unresolved
	references to memset(); this prevents "boot" from loading
	successfully.

>How-To-Repeat:
	Attempt to build the bootstrap program.

>Fix:
	add memset to the libkern library.

	Perhaps bzero and friends should be converted into their
	mem* equivalents throughout the library.
>Audit-Trail:
>Unformatted: