On Tue, Nov 10, 2026 at 09:41:42AM +0100, Thomas Schwinge wrote:
> In Subversion r265930 (Git commit 28567c40e2c7c88e424283e8a1a6ff8cb7ba440c)
> "(Partial) OpenMP 5.0 support for GCC 9 (runtime library changes)" part, a
> "Check for uname" was added. However, currently all the 'HAVE_UNAME' code is
> dead, given that the 'configure' check always fails to compile:
>
> conftest.c: In function 'main':
> conftest.c:55:16: error: incompatible type for argument 1 of 'uname'
> 55 | if (!uname (buf))
> | ^~~
> | |
> | struct utsname
> In file included from conftest.c:49:
> /usr/include/x86_64-linux-gnu/sys/utsname.h:81:35: note: expected 'struct
> utsname *' but argument is of type 'struct utsname'
> 81 | extern int uname (struct utsname *__name) __THROW;
> | ~~~~~~~~~~~~~~~~^~~~~~
>
> libgomp/
> * configure.ac: Fix 'uname' check.
> * configure: Regenerate.
LGTM.
Jakub