]> code.ossystems Code Review - openembedded-core.git/commit
glibc: Do not synthesize wordsize.h for arm multilibs
authorKhem Raj <raj.khem@gmail.com>
Sat, 16 May 2020 15:58:39 +0000 (08:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 May 2020 05:31:53 +0000 (06:31 +0100)
commitd223f85f8a18b1343f186122425f18f32706065b
tree21cc08bf5ad4e2251667c101bedb5a38c4814b23
parente13c85c8e822fc5e5ecba4d58a6f9786d4adb097
glibc: Do not synthesize wordsize.h for arm multilibs

This has been constant source of trouble, because it is fundamental file
which sets machine word length and everything else builts on top of that
so when it is sythesized like this, where the sythesize template itself
needs wordsize.h to determine machine word length, it creates the
catch-22 problem, which is seen when building things like bpf, or
running clang-tidy etc. where compiler internal defines may not be used
this ends up in all sorts of problems. Now that glibc provides exact
same header for arm and aarch64, its no longer needed to be multilibbed
here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-package.inc