NetBSD Problem Report #124

Date: Sat, 12 Feb 1994 12:05:07 -0800
From: matthieu@laas.fr (Matthieu Herrb)
Reply-To: matthieu@laas.fr (Matthieu Herrb)
To: gnats-admin
Cc: gnats-admin, netbsd-bugs
Subject: lib/124: isnan multiply defined

>Number:         124
>Category:       lib
>Synopsis:       isnan is defined in libm.a and in libc.a
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 12:05:01 +0000 1994
>Closed-Date:    Fri Feb 18 17:25:04 +0000 1994
>Last-Modified:  Thu Jan 02 18:12:27 +0000 2014
>Originator:     Matthieu Herrb
>Release:        
>Organization:
	LAAS/CNRS
	Toulouse FRANCE
>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
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Fri Feb 18 17:25:04 1994
State-Changed-Why:
The history of this PR has been lost.
But this bug has been fixed.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.