NetBSD Problem Report #48955

From he@smistad.uninett.no  Sun Jun 29 10:47:39 2014
Return-Path: <he@smistad.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 95A4CA653F
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Jun 2014 10:47:39 +0000 (UTC)
Message-Id: <20140629104735.512903D0B8@smistad.uninett.no>
Date: Sun, 29 Jun 2014 12:47:35 +0200 (CEST)
From: he@NetBSD.org
Reply-To: he@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: NetBSD is missing frexpl(3) in libm
X-Send-Pr-Version: 3.95

>Number:         48955
>Category:       lib
>Synopsis:       NetBSD is missing frexpl(3) in libm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 29 10:50:00 +0000 2014
>Last-Modified:  Sun Jan 01 17:55:00 +0000 2017
>Originator:     Havard Eidnes
>Release:        NetBSD 6.1.4
>Organization:
	None.
>Environment:
System: NetBSD smistad.uninett.no 6.1.4 NetBSD 6.1.4 (MAANEN) #2: Sat May 17 15:02:30 CEST 2014 he@smistad.uninett.no:/usr/obj/sys/arch/i386/compile/MAANEN i386
Architecture: i386
Machine: i386
>Description:
	While trying to package math/gnumeric to version 1.12.11,
	I first find that gcc claims the (implicit) declaration of
	frexpl in misc/goffice-0.10 (after updating it to 0.10.17)
	goffice/math/go-dtoa.c is conflicing with the builtin version.
	However, just adding the declaration just leads to a linking
	error when linking gnumeric that frexpl is missing.

>How-To-Repeat:
	Try to build a program using frexpl() with the

	extern long double frexpl(long double, int*);

	prototype.  Watch it fail.
>Fix:
	Sorry, don't know.

	It seems that Apple, Illumos and Linux is using
	code from AT&T as part of the "ast" package for
	implementing this (and probably other) functions,
	but I also can't find traces of that in pkgsrc
	(not really surprising).

>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/48955: NetBSD is missing frexpl(3) in libm
Date: Sun, 1 Jan 2017 17:48:32 +0000

 It is hidden under __HAVE_LONG_DOUBLE (this has
 been the case since before the bug report).

From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/48955: NetBSD is missing frexpl(3) in libm
Date: Sun, 1 Jan 2017 17:52:03 +0000

 ... although it's possible it was not in 6.1.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.