Subject: lib/124: isnan multiply defined
To: None <gnats-admin>
From: Matthieu Herrb <matthieu@laas.fr>
List: netbsd-bugs
Date: 02/12/1994 12:05:07
>Number:         124
>Category:       lib
>Synopsis:       isnan is defined in libm.a and in libc.a
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 12:05:01 1994
>Originator:     Matthieu Herrb
>Organization:
	LAAS/CNRS
	Toulouse FRANCE
>Release:        
>Environment:
	NetBSD-current from 12-02-94
System: NetBSD cougar 0.9a COUGAR#1 i386


>Description:
	the isnan function is defined both in the nez libm (src/s_isnan.c) 
	and in libc (arch/{i386,m68k,ns32k}/gen/isinf.c and 
	arch/sparc/gen/isnan.c). 
>How-To-Repeat:
	For example, make in /usr/src/bin/ps
>Fix:
	Here's a simple patch that removes s_isnan.o  from libm. (I don't
	known which of the two libraries it really belong to...):

	
--- Makefile~   Sat Feb 12 11:12:16 1994
+++ Makefile    Sat Feb 12 20:21:32 1994
@@ -69,7 +69,7 @@
        w_scalb.o w_sinh.o w_sqrt.o \
        s_asinh.o s_atan.o s_cbrt.o s_ceil.o s_copysign.o \
        s_cos.o s_erf.o s_expm1.o s_fabs.o s_finite.o s_floor.o \
-       s_frexp.o s_ilogb.o s_isnan.o s_ldexp.o s_lib_version.o \
+       s_frexp.o s_ilogb.o s_ldexp.o s_lib_version.o \
        s_log1p.o s_logb.o s_matherr.o s_modf.o s_nextafter.o \
        s_rint.o s_scalbn.o s_signgam.o s_significand.o s_sin.o \
        s_tan.o s_tanh.o
>Audit-Trail:
>Unformatted:

------------------------------------------------------------------------------