[PATCH] NEWS: Mention testing glibc build with different compilers

Paul Zimmermann Paul.Zimmermann@inria.fr
Mon Dec 23 06:40:45 GMT 2024


       Hi HJ,

why TEST_CC=... and not CC=... ?

Does this mean that glibc is compiled with the default compiler (CC),
but only the tests are compiled with the alternate compiler (TEST_CC)?
If so, maybe the comment could be clearer.

Also, ../glibc-VERSION/configure could be replace by simply ../configure.

Paul

> From: "H.J. Lu" <hjl.tools@gmail.com>
> Cc: sam@gentoo.org
> Date: Mon, 23 Dec 2024 08:00:03 +0800
> 
> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
> ---
>  NEWS | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index a185f2e7ee..fab4ff8ccb 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -9,6 +9,17 @@ Version 2.41
>  
>  Major new features:
>  
> +* Support testing glibc build with a different C compiler or a different
> +  C++ compiler with
> +
> +  $ ../glibc-VERSION/configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"
> +
> +  And support testing glibc build with Clang
> +
> +  $ ../glibc-VERSION/configure TEST_CC="clang" TEST_CXX="clang++"
> +
> +  Some run-time failures with Clang are expected.
> +
>  * In /etc/resolv.conf and the RES_OPTIONS, option flags can now be
>    prefixed with “-” to clear previously set flags.  For example, if
>    /etc/resolv.conf contains “options no-aaaa”, a process running with
> -- 
> 2.47.1
> 
> 


More information about the Libc-alpha mailing list