Re: [PATCH 0/3] fenv support round 2

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Aug 28 10:06, [email protected] wrote:
> From: Joel Sherrill <[email protected]>
> 
> There are three patches in this set and hopefully two will be uncontroversial.
> 
> (1) The common include/fenv.h was copied from riscv, so delete the 
> copy in the libc/machine/riscv directory.
> 
> (2) Add glibc extension FE_NOMASK_ENV to template sys/fenv.h.
> Code was copied from Cygwin fenv.h.
> 
> (3) Add x86_64 and i386 fenv support by copying from Cygwin. No
> functional changes were made. This needs some help.
> 
>    (a) x86_64 isn't picking up fenv.c. Not sure what isn't bootstrapping right.
>        Help needed to get it integrated into libm build.

Not sure yet, still looking into the code.

>    (b) I added a copyright to fenv.c since it just said "part of Cygwin".
>        I hope it is right.

No, that's not how it should be licensed since that implies GPL3+.
We're moving the file into newlib so we should loosen the copyright
so that the code is usable for non-GPLed code.  And as the sole
copyright holder, Red Hat can move the file to another copyright.

So what you can do here is to remove the entire Cygwin header from
the file and just keep a BSD-3-Clause SPDX header.

> After (3) is merged, a Cygwin maintainer will need to clean up winsup
> and make sure all is good.

Will check.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1mnXIACgkQ9TYGna5E
T6ADfQ//Ss/Bcjj0g9f6oIVZ5MbQqLcfY9Pl/FcXHGW8eHyFjGEHnxO2VAAhzqbD
XJfX5eh/UXx+fH7xJScLynZz4ceeLHUdDwaeq7Inb9NJvpT2Sgo0mYb918LMbkiO
J87GAv/ra8Dmc/5PpTdGrr4rvNlYzaQkW7TcN0dI/sjnUU2to2pnN/luOVgi7HqL
5iwCixrAPQwiiRENolKAoOuZZVWifDLazu+0T3qI5iDNC9QE7mmJLpAWt5X1hF7h
pIt41r63oNNByzehAdD2g83n4twm6PxfcOzEzEGb48LuTBAPxzYRc1PMcLd7bX+k
+a9HdXkMY1Z13v+lWcVeZiS3Zvq0xAACX+2cLK8WuOlX6CIkao6mrb3eUnyJ7FJB
TqUjdfb2C3l9uuOuILW/Qo0KR3eqT7Y6vtbW2VJdf7641fakQtaiHjlyKjjRkNmy
/HjGGiCfPNpyfUc9ZqkVX4+Gq9YxJu9y9lteCGlQxA4GwC/PnepwAHC0J23MA6jm
uK8Hw/pI7I/Kb9ta5qul0ZLaqDuXftlAhQWrDfJWBloLk6m2j+efwSdd6JnNjhVg
SJhs8sXInb+Hc8n/Nqj3gUKyI6DOjnXYhJMqUtfkktREL8ro2AKoQKQQZ3hnij3j
fDmVgWDIuv0iSEWGDZaInAuQhihv8VOTu0GKDZgcE/PKkVSmUmI=
=XdaG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.