[Bug math/32418] __XXX math functions are declared, but not provided

dilfridge at gentoo dot org sourceware-bugzilla@sourceware.org
Fri Dec 20 22:17:07 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=32418

Andreas K. Huettel <dilfridge at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Andreas K. Huettel <dilfridge at gentoo dot org> ---
commit 6bc301672bfbde618d4ec02e51e6e2cbadd4ac1e
Author:     H.J. Lu <hjl.tools@gmail.com>
AuthorDate: Thu Dec 5 08:05:04 2024 +0800
Commit:     H.J. Lu <hjl.tools@gmail.com>
CommitDate: Thu Dec 12 16:17:54 2024 +0800

    math: Remove __XXX math functions from installed math.h [BZ #32418]

    Since libm doesn't export __XXX math functions, don't declare them in
    the installed math.h by adding <bits/mathcalls-macros.h> to declare
    __XXX math functions internally for glibc build.  This fixes BZ #32418.

    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
    Reviewed-by: Sam James <sam@gentoo.org>

 include/bits/mathcalls-macros.h | 12 ++++++++++++
 include/math.h                  |  5 +++++
 math/Makefile                   |  1 +
 math/bits/mathcalls-macros.h    | 48
++++++++++++++++++++++++++++++++++++++++++++++++
 math/math.h                     | 37 +------------------------------------
 5 files changed, 67 insertions(+), 36 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list