]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
NEWS: Mention testing glibc build with a different set of compilers
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Dec 2024 21:20:43 +0000 (05:20 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 24 Dec 2024 08:16:38 +0000 (16:16 +0800)
Also document C and C++ compilers used to test glibc should come from
the same set of compilers.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
INSTALL
NEWS
manual/install.texi

diff --git a/INSTALL b/INSTALL
index 85c8e4cef1ea4f89e089e73bf2e92d9c4e6d5438..717b34a374f82d3d6f9356526c0c88e014200dec 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -49,9 +49,9 @@ if 'CFLAGS' is specified it must enable optimization.  For example:
 
      $ ../glibc-VERSION/configure CC="gcc -m32" CFLAGS="-O3"
 
-   To test the GNU C Library with a different C compiler or a different
-C++ compiler, 'TEST_CC=COMPILER' and 'TEST_CXX=COMPILER' arguments can
-be passed to 'configure'.  For example:
+   To test the GNU C Library with a different set of C and C++
+compilers, 'TEST_CC=COMPILER' and 'TEST_CXX=COMPILER' arguments can be
+passed to 'configure'.  For example:
 
      $ ../glibc-VERSION/configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"
 
diff --git a/NEWS b/NEWS
index a185f2e7ee864ce29008865c4de6038d4d8c2462..4ceecd6249e0179323d55c91d2e226b956c18c19 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,17 @@ Version 2.41
 
 Major new features:
 
+* Support testing glibc build with a different set of C and C++ compilers
+  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.
+
 * 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
index 61745b88d83fde233c716278e6cec0142b8ff9ec..05a774b33b1528d020cf19241e9bac8cec93af86 100644 (file)
@@ -75,10 +75,9 @@ and @theglibc{} cannot be compiled without optimization, so if
 $ ../glibc-@var{version}/configure CC="gcc -m32" CFLAGS="-O3"
 @end smallexample
 
-To test @theglibc{} with a different C compiler or a different C++
-compiler, @samp{TEST_CC=@var{compiler}} and
-@samp{TEST_CXX=@var{compiler}} arguments can be passed to
-@code{configure}.  For example:
+To test @theglibc{} with a different set of C and C++ compilers,
+@samp{TEST_CC=@var{compiler}} and @samp{TEST_CXX=@var{compiler}}
+arguments can be passed to @code{configure}.  For example:
 
 @smallexample
 $ ../glibc-@var{version}/configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"