NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/48955: NetBSD is missing frexpl(3) in libm



>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
>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@localhost:/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).



Home | Main Index | Thread Index | Old Index