[PATCH 2/3] libm: Remove __ieee754_gamma_r variants

Keith Packard keithp@keithp.com
Wed Sep 2 20:37:46 GMT 2020


Corinna Vinschen via Newlib <newlib@sourceware.org> writes:

> Removing interfaces is not an option for Cygwin.  If you remove
> functions from newlib exported as symbols in Cygwin, you must provide
> replacement interfaces for Cygwin alone, otherwise Cygwin won't build
> anymore.  And one step further, removing interfaces from the list of
> exported symbols of the Cygwin DLL will break user space and that's
> simply a no-no.

Then tell us what you want gamma and gamma_r to do for Cygwin. They're
non-standard interfaces for POSIX, C99 and C17, so you get to
pick.

Removing them for non-Cygwin uses appears to be the safest choice as
that will (intentionally) break applications which were expecting them
to implement either the BSD or Linux behavior, when in fact they do
neither (!).

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20200902/a671e4db/attachment.sig>


More information about the Newlib mailing list