[PATCH] math: Exclude internal math symbols for tests [BZ #32414]

H.J. Lu hjl.tools@gmail.com
Thu Dec 5 06:56:42 GMT 2024


On Thu, Dec 5, 2024 at 9:04 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Since internal tests don't have access to internal symbols in libm,
> exclude them for internal tests.  Also make tst-strtod5 and tst-strtod5i
> depend on $(libm) to support older versions of GCC which can't inline
> copysign family functions.  This fixes BZ #32414.
>
>
> --
> H.J.

It is used in glibc build for some targets:

FAIL: glibcs-powerpc-linux-gnu build
FAIL: glibcs-powerpc-linux-gnu-power4 build
FAIL: glibcs-powerpc64le-linux-gnu build
FAIL: glibcs-powerpc-linux-gnu-soft build
FAIL: glibcs-powerpc64-linux-gnu build
FAIL: glibcs-powerpc64le-linux-gnu-disable-multi-arch build
FAIL: glibcs-sparcv9-linux-gnu build
FAIL: glibcs-sparc64-linux-gnu build

But they shouldn't be declared in the installed header.

-- 
H.J.


More information about the Libc-alpha mailing list