[PATCH] NEWS: Mention testing glibc build with different compilers
H.J. Lu
hjl.tools@gmail.com
Mon Dec 23 07:23:30 GMT 2024
On Mon, Dec 23, 2024 at 2:40 PM Paul Zimmermann
<Paul.Zimmermann@inria.fr> wrote:
>
> 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)?
Correct.
> If so, maybe the comment could be clearer.
How about this?
* Support testing glibc build with a different C compiler or a different
C++ compiler from the C and C++ compilers used to build glibc with
$ ../configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"
And support testing glibc build with Clang
$ ../configure TEST_CC="clang" TEST_CXX="clang++"
Some run-time failures with Clang are expected.
> 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
> >
> >
--
H.J.
More information about the Libc-alpha
mailing list