NetBSD Problem Report #44202

From www@NetBSD.org  Wed Dec  8 07:18:54 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 186FD63B886
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  8 Dec 2010 07:18:54 +0000 (UTC)
Message-Id: <20101208071853.E82FB63B87A@www.NetBSD.org>
Date: Wed,  8 Dec 2010 07:18:53 +0000 (UTC)
From: explorer@flame.org
Reply-To: explorer@flame.org
To: gnats-bugs@NetBSD.org
Subject: NetBSD lacks some c99 math functions:  llroundl() and probably others
X-Send-Pr-Version: www-1.0

>Number:         44202
>Category:       standards
>Synopsis:       NetBSD lacks some c99 math functions:  llroundl() and probably others
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 08 07:20:00 +0000 2010
>Closed-Date:    Thu Jun 03 21:37:39 +0000 2021
>Last-Modified:  Fri Jun 04 18:20:01 +0000 2021
>Originator:     Michael Graff
>Release:        5.1
>Organization:
>Environment:
NetBSD netbsd-amd64-5.lab.flame.org 5.1_STABLE NetBSD 5.1_STABLE (XEN3_DOMU) #2: Sat Dec  4 06:33:20 UCT 2010  explorer@netbsd-amd64-5.lab.flame.org:/usr/src/sys/arch/amd64/compile/XEN3_DOMU amd64
>Description:
NetBSD seems to be lacking llroundl() and other "long double" argument functions.  I've not had the time to run through the list of the missing ones, but they are all defined in c99.

This is preventing Phusion Passenger 3.0.1 from compiling on NetBSD because it is using this function.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: cjep@NetBSD.org
State-Changed-When: Thu, 03 Jun 2021 21:37:39 +0000
State-Changed-Why:
The long double functions were added by matt@ in 2013.


From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: standards-manager@netbsd.org,
 netbsd-bugs@netbsd.org,
 gnats-admin@netbsd.org,
 "cjep@netbsd.org" <cjep@NetBSD.org>,
 explorer@flame.org
Subject: Re: standards/44202 (NetBSD lacks some c99 math functions: 
 llroundl() and probably others)
Date: Thu, 3 Jun 2021 17:43:31 -0400

 --Apple-Mail=_E479FF6C-2D60-4181-B14A-9A67B57EFB49
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii

 I think we are still missing some.

 christos

 > On Jun 3, 2021, at 5:37 PM, cjep@netbsd.org <cjep@NetBSD.org> wrote:
 >=20
 > Synopsis: NetBSD lacks some c99 math functions:  llroundl() and =
 probably others
 >=20
 > State-Changed-From-To: open->closed
 > State-Changed-By: cjep@NetBSD.org
 > State-Changed-When: Thu, 03 Jun 2021 21:37:39 +0000
 > State-Changed-Why:
 > The long double functions were added by matt@ in 2013.
 >=20
 >=20


 --Apple-Mail=_E479FF6C-2D60-4181-B14A-9A67B57EFB49
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP

 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org

 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCYLlNBAAKCRBxESqxbLM7
 OuE9AKDX2f0JwP6YWonp7BsfuqAk/wji5ACg68tCdf8ByTnjbEwZAG3LtYyr0eE=
 =6+Zo
 -----END PGP SIGNATURE-----

 --Apple-Mail=_E479FF6C-2D60-4181-B14A-9A67B57EFB49--

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: standards/44202 (NetBSD lacks some c99 math functions:
 llroundl() and probably others)
Date: Fri, 4 Jun 2021 16:55:40 +0000

 On Thu, Jun 03, 2021 at 09:45:02PM +0000, Christos Zoulas wrote:
  > > The long double functions were added by matt@ in 2013.
  >
  >  I think we are still missing some.

 Likely, but this PR doesn't have a list. I'll attend to that and file
 a new PR.

 -- 
 David A. Holland
 dholland@netbsd.org

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: standards/44202 (NetBSD lacks some c99 math functions:
 llroundl() and probably others)
Date: Fri, 4 Jun 2021 18:15:41 +0000

 On Fri, Jun 04, 2021 at 05:00:02PM +0000, David Holland wrote:
  >  On Thu, Jun 03, 2021 at 09:45:02PM +0000, Christos Zoulas wrote:
  >   > > The long double functions were added by matt@ in 2013.
  >   >
  >   >  I think we are still missing some.
  >  
  >  Likely, but this PR doesn't have a list. I'll attend to that and file
  >  a new PR.

 We are not; all the functions in C99 7.12 are in math.h. I didn't
 check that they're all also physically present in libm, but I'll
 assume we didn't do anything so foolish as mess that up.

 According to the top of math.h were are still missing the macros
    MATH_ERRNO
    MATH_ERREXCEPT
    math_errhandling
 and
    FP_FAST_FMA
    FP_FAST_FMAF
    FP_FAST_FMAL

 There is no PR for these, though, so I'll make one.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.