Subject: port-mips/5957: memcmp and memset missing from mips based kernels after b-function raid
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@aarhus1.uni-c.dk>
List: netbsd-bugs
Date: 08/12/1998 15:12:00
>Number:         5957
>Category:       port-mips
>Synopsis:       memcmp and memset missing from mips based kernels after b-function raid
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 12 06:35:01 1998
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 12 Aug 1998
>Environment:
	
System: NetBSD aarhus1.uni-c.dk 1.3G NetBSD 1.3G (AARHUS1) #64: Wed Aug 12 15:01:35 MEST 1998 erik@aarhus1.uni-c.dk:/home/src/sys/arch/pmax/compile/AARHUS1 pmax


>Description:
	Link failures occur while building pmax kernels because of memset and memcmp
	not being present in libkern.
>How-To-Repeat:
	
>Fix:
 cvs diff -c
cvs server: Diffing .
Index: Makefile.inc
===================================================================
RCS file: /sw/cvs-base/src/sys/lib/libkern/arch/mips/Makefile.inc,v
retrieving revision 1.1.1.5
diff -c -r1.1.1.5 Makefile.inc
*** Makefile.inc        1998/01/22 15:29:45     1.1.1.5
--- Makefile.inc        1998/08/12 15:20:12
***************
*** 4,7 ****
--- 4,8 ----
  
  SRCS+=        random.c scanc.c skpc.c strcat.c strcpy.c strncmp.c strncpy.c \
        bswap16.c bswap32.c bswap64.c memchr.c \
+       memcmp.c memset.c \
        strncasecmp.c __assert.c


	regards
	Erik Bertelsen
>Audit-Trail:
>Unformatted: