Now that the Newlib 4.6.0 snapshot has been tagged / released,
let's require it for GCN - as it includes all post-4.5.0 commits
that fixed GCN math issue.
Cf. https://sourceware.org/pipermail/newlib/2026/022251.html
https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/NEWS
https://sourceware.org/pub/newlib/ → newlib-4.6.0.20260123
OK?
Tobias
install.texi: Update GCN's newlib requirements
GCN requires 4.3.0 or newer, but improvements and bug fixes were added
in later versions; before 4.3.0 was listed as required and several versions
up to post-4.5.0 commits were mentioned. Now that 4.6.0 has been released,
just referring to 4.6.0 is sufficient. As fixes are important and there is no
real reason to use an older Newlib: Only list 4.6.0+ as to be used,
instead of also mentioning 4.3.0+ (and other older releases).
gcc/ChangeLog:
* doc/install.texi (gcn): Require Newlib 4.6.0+, replacing 4.3.0+
requirement with long list of recommended fixes up to post-4.5.0.
gcc/doc/install.texi | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index cec3e5b2b56..6404105fbba 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -4176,10 +4176,7 @@ that @code{gfx9-generic} does not include @code{gfx908} or @code{gfx90a},
that linking specific ISA code with generic code is currently not supported,
and that only ROCm 6.4.0 or newer is able to execute generic code.
-Use Newlib (4.3.0 or newer; 4.4.0 contains some improvements and 4.5.0 fixes
-the device console output for GFX10 and GFX11 devices; post-4.5.0
-commits 2ef1a37e7 [Mar 25, 2025], f13e8e215 [Aug 8, 2025], and
-bd409f3c1 [Aug 27, 2025] fix SIMD math issues).
+Use Newlib (4.6.0 or newer).
To run the binaries, install the HSA Runtime from the
@uref{https://rocm.docs.amd.com/,,ROCm Platform}, and use