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; 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 another Newlib commit to the recommended Newlib version, fixing another SIMD issue. 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..f0ae063a0b4 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] and f13e8e215 [Aug 8, 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