I am seemingly not fully awake: As the Aug 8 commit was not listed + I
forgot 'git pull', I only added that one – and not also the Aug 27 commit.
Hence, there is now a [v2] that adds the two newer commits such that
there are now three post-release Newlib commits, fixing GCN SIMD issues.
Tobias Burnus wrote:
Changes in GCC 16 enables more vectorization, triggering bugs in
the GCN's Newlib vector implementation.
This patch adds a second Newlib commit to the documentation;
and a third – the two new ones both related to 'fmod' and lane handling,
see commit log (or PRs).
for GCN user - esp. for mainline - it is recommended to update
Newlib to at least that commit or to cherry pick the two commits
on top of the last release.
OK for mainline?
[When doing so, consider to make also a amdgcn-amdhsa{/bin/,-}objdump
available (linking to llvm-objdump or Binutil's) to fix another
issue. See PR119367 + recent emails.]
For details about the SIMD fixes to Newslib, see
https://gcc.gnu.org/PR121392 and
https://sourceware.org/bugzilla/show_bug.cgi?id=33272
Tobias
install.texi: For amdgcn, update Newlib version recommendation
Add two Newlib commits to the recommended Newlib version,
fixing two other SIMD issues.
Cf. PR target/121392 and Newlib Bug 33272.
gcc/ChangeLog:
PR target/121392
* doc/install.texi (amdgcn): Mention Newlib commit
that fixes another SIMD issue.
gcc/doc/install.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 6913035b596..f23bbf1a928 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -4096,7 +4096,8 @@ 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
-commit 2ef1a37e7 [Mar 25, 2025] fixes a SIMD math issue).
+commits 2ef1a37e7 [Mar 25, 2025], f13e8e215 [Aug 8, 2025], and
+bd409f3c1 [Aug 27, 2025] fix SIMD math issues).
To run the binaries, install the HSA Runtime from the
@uref{https://rocm.docs.amd.com/,,ROCm Platform}, and use