]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools: gnulib: do not cache C standard option test results 19627/head
authorMichael Pratt <mcpratt@pm.me>
Sat, 2 Aug 2025 08:12:17 +0000 (04:12 -0400)
committerNick Hainke <vincent@systemli.org>
Sat, 2 Aug 2025 22:41:05 +0000 (00:41 +0200)
commitba76da4fe9fc07e62c7d94d2fb4e123e6f0c56c8
treeeb850cf1052eb1a1b142bed4ae3b2a5d5f250392
parent287f1ea3dd5b76bc778b3d375d271fd24815e05b
tools: gnulib: do not cache C standard option test results

After eliminating the possibility of automake having a bug
by testing a revert to the recent updates to automake,
the problems regarding autoreconf with some packages
was bisected to the gnulib update instead, through aclocal macros.

With the new module, std-gnu23, some packages are failing build
due to both the host compiler and cross compiler being tested for
availability of C23 standard features with the configure script.
The results of one is being cached and used for the other,
while the two compilers are different versions and may or may not
both support C23 options and would otherwise have conflicting results.

A similar patch may have to be done
for the next release of Autoconf
if upstream GNU does not accept this solution.

Reported-by: Georgi Valkov <gvalkov@gmail.com>
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/19627
Signed-off-by: Nick Hainke <vincent@systemli.org>
tools/gnulib/patches/190-stdc-m4-no-cache.patch [new file with mode: 0644]