From patchwork Thu Jul 26 14:39:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 142973 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp540491ljj; Thu, 26 Jul 2018 07:39:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcK4+Hg0jEbH3xJkFQZoZeUfClnvcrfvrd8qo2ZOoVRCehbvS5hKj13FpsMtFXE3YF2f8FP X-Received: by 2002:a62:6547:: with SMTP id z68-v6mr2467773pfb.20.1532615979056; Thu, 26 Jul 2018 07:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532615979; cv=none; d=google.com; s=arc-20160816; b=Slw8GbOHxWKL2vnXPlzq+43hA9OyLVI7cfUhAZOMXHZcMd107aazBl0EXMSWlf3uRp BFwTd9OlEf+6DBTh7opImWlEAsCDLUt/GeZyozmCSC2M1KVFQmRmN96+Wguicudnu2oj Dlpk4e2gDWsMP46vRi01kwg4zRzqelOOALuzxe7j/n/W7/HBD8C/yZJVfSVAEML8HD4P n5CIWisxAreYfDflxmnL9hAEx+WjQakcY1R4QQo0NOeKyda8N+ySKHY2Ted4nHi6YsfP w95bK0eEJlsEdJ86ux/fzGF8IMESELrpCUFvVwLKeDiwQbT7u8UQ7PZripcMXoMKDk+e xoZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=QPqA2f3F02rKagZ3LsPkjS9E9lKhcXkjErtPtlHzxhk=; b=DqQNbFOrFToaS/z4jWfuL/6JCrl5xevFtytqSZZRvwGJBXXN4Ot0uCnxSRMp500j5V KR7m+dM1UPNA+ZQyb/YGX4HJh07G55pzvF7VsPbHjar1Ar6/fCK/hJTGLDI8bq7vAozz G2KhAOdmqyvgl+fXO1hA6vAJEV8+aDHgmQyqlA5VyVqOT/AhapUeHitKqDtVm18Ez8/A qq226IG773DQM85vjYssAmk1/mTZc/RkTec5O0L5YGHMSe4xUQc7jAp9sIBshtvxiiId 6zj99lMkvIyxWqzU2r2dd37qZhe3m+IcPHCtupuANB4MDfPZJhjpyxn0ea1dBYOuHXDK zkGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=T3pT8lVi; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id n8-v6si1344224plk.255.2018.07.26.07.39.38; Thu, 26 Jul 2018 07:39:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=T3pT8lVi; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0D9D578C33; Thu, 26 Jul 2018 14:39:37 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by mail.openembedded.org (Postfix) with ESMTP id E551978C29 for ; Thu, 26 Jul 2018 14:39:35 +0000 (UTC) Received: by mail-oi0-f68.google.com with SMTP id y207-v6so3339679oie.13 for ; Thu, 26 Jul 2018 07:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iDwFbm3Ae6jvky8+Z0XqmVOdYBXo9lhHFsJIJ9G1htw=; b=T3pT8lVir9XpNrfB5gQXLzpveZj+Fl64R68MqkoO+uEcWsgAHworMxf6au9aw+9Vd0 I6A0T9oQFbG7MM9teLJZqBOGqKWo3Y4AXenHvZlq3G4O4BYZwygKCSc0U6js1Pmm7vN1 5PwUiU8ir8dvF8cURTS81jQAKnjIlFgaSvbnA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iDwFbm3Ae6jvky8+Z0XqmVOdYBXo9lhHFsJIJ9G1htw=; b=Q6bLBLzGTBkQZ1tYfTlfrlPn62fSIsi0kgTsNDsWNFVoirXa4YGKI2m1uozfRQWRhN AtoikUxwuP2fIdPl7ZeOrqLy+VXkphuvgRV9jEGVwPBGFVX1qczMePJnmZhPDLaSMLyk WtFwqft76/K+DJqBqB/EWYHxJLHRW5jNpAw7ZvlTZuKpFUbYPetrztxiBvRE74wRGQlj QMEGYZwwt/SBxW36kGLYVgXNFuI4td3/y2PDTcFewYItrf9ShmTVPkWSRpozoyW6mBSz Cs7hI15s/CUviq+LrF/Q8vwRlskGIruIKFf5Ivh0VDKiBs4v9EVTWWXWgk2OWuYasEUD g6Ag== X-Gm-Message-State: AOUpUlGVv+Dtt8UHJtMogf2vvu8T8vcx2l464e8ZLjxOhRHfmjWJbmMB M3JA5ANj34IAkXj97+gqby1XjCGic+A= X-Received: by 2002:aca:f401:: with SMTP id s1-v6mr2388582oih.269.1532615976455; Thu, 26 Jul 2018 07:39:36 -0700 (PDT) Received: from aura.cortijodelrio.net (CableLink-187-161-193-121.PCs.InterCable.net. [187.161.193.121]) by smtp.googlemail.com with ESMTPSA id l204-v6sm850193oia.45.2018.07.26.07.39.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jul 2018 07:39:35 -0700 (PDT) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: openembedded-core@lists.openembedded.org Date: Thu, 26 Jul 2018 09:39:26 -0500 Message-Id: <1532615966-27414-1-git-send-email-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [OE-core] [sumo][PATCH] glibc: Avoid multilibbing on wordsize.h X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Once another header #includes , there is a potential recursion going on because the multilib_header_wrapper.h #includes 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 Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- 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