[oe-commits] [openembedded-core] 16/17: glibc: Avoid multilibbing on wordsize.h

git at git.openembedded.org git at git.openembedded.org
Sun Jul 29 23:03:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch sumo
in repository openembedded-core.

commit 7fe620ed0f9bb0404a1929d9c1c47f432f9a6b37
Author: Daniel Díaz <daniel.diaz at linaro.org>
AuthorDate: Thu Jul 26 09:39:26 2018 -0500

    glibc: Avoid multilibbing on wordsize.h
    
    Once another header #includes <bits/wordsize.h>, there is a
    potential recursion going on because the
    multilib_header_wrapper.h #includes <bits/wordsize.h> again!
    
    This should not happen because an __arm__ (32-bits) or an
    __aarch64__ (64-bits) environment guarantees that we will
    be getting the correct definition, but when building against
    a different target (like BPF), recursion is what happens.
    
    This can be seen, for instance, when building eBPF programs
    from the kernel with `clang -target bpf', such as the ones
    located in linux/tools/testing/selftests/bpf/.
    
    (From OE-Core rev: a74c77d6168101e88c3a3bce7130f4f52cfab95d)
    
    Signed-off-by: Daniel Díaz <daniel.diaz at linaro.org>
    Signed-off-by: Aníbal Limón <anibal.limon at linaro.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-core/glibc/glibc-package.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 728bc53..35f5231 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -137,8 +137,7 @@ do_install_append_armeb () {
 }
 
 do_install_armmultilib () {
-
-	oe_multilib_header bits/endian.h bits/fcntl.h bits/fenv.h bits/fp-fast.h bits/hwcap.h bits/ipc.h bits/link.h bits/wordsize.h
+	oe_multilib_header bits/endian.h bits/fcntl.h bits/fenv.h bits/fp-fast.h bits/hwcap.h bits/ipc.h bits/link.h
 	oe_multilib_header bits/local_lim.h bits/mman.h bits/msq.h bits/pthreadtypes.h bits/pthreadtypes-arch.h  bits/sem.h  bits/semaphore.h bits/setjmp.h
 	oe_multilib_header bits/shm.h bits/sigstack.h bits/stat.h bits/statfs.h bits/typesizes.h
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list