]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
pseudo: Fix to work with glibc 2.38
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Aug 2023 06:40:47 +0000 (07:40 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Sep 2023 14:14:00 +0000 (04:14 -1000)
commit909fd25c2ebd25f5d3bc560e26f9df6862e033d0
tree3c60b7d57b6ecab92cc6fd17be9029618a838eef
parent5f78a010a4ff53f4a216ec2ebe9b7a44c5c88790
pseudo: Fix to work with glibc 2.38

This adds a horrible hack to get pseudo working with glibc 2.38. We can't
drop _GNU_SOURCE to something like _DEFAULT_SOURCE since we need the defines
the gnu options bring in. That leaves using internal glibc defines to disable
the c23 versions of strtol/fscanf and friends. Which would break pseudo
build with 2.38 from running on hosts with older glibc.

We'll probably need to come up with something better but this gets glibc 2.38
and working and avoids autobuilder failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 596fb699d470d7779bfa694e04908929ffeabcf7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/pseudo/files/glibc238.patch [new file with mode: 0644]
meta/recipes-devtools/pseudo/pseudo_git.bb