From patchwork Thu Jul 26 14:38:53 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: 142972 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp539922ljj; Thu, 26 Jul 2018 07:39:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf8KsH/Vc8UZbB7TnEsGxFlxVb/Ng6bNyK552quuF9o4f1XAQ/i2YsVPWxHbqjURvCj1jlK X-Received: by 2002:a17:902:b717:: with SMTP id d23-v6mr2237956pls.105.1532615948896; Thu, 26 Jul 2018 07:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532615948; cv=none; d=google.com; s=arc-20160816; b=HNDTZK0fLBR/nS9HhfEeMksUODn0g+AQdcGMJ02OTxe9+23sGDJq03Id5hJUTiv5LE lG8KVbSgXrrIWMzhKTVIlrfPSbC71IpD5zQTXhytIRoDF0ZRKBnC6i8J76goDxFkgfOS +ermbcNi6d0eHbznWVrTLLNGOXUx3Wb+uvH2qMjcc4pptFp2fKs9BWR8dzB9DfttRmse kHT0Gk6rUQBnafB7qVCst1FhjdjrFhMQleoM+nvwn6cxZUjeu6cJrvlS6s89B1zqe3a1 vkFcoNxoNoY65b+gC9AmULnf+M26+remLG0cZMPQn/Ia6GMcsWPAYSczE+G4rgewJI4M OKhw== 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=wbgiDEjmy0NMCb4nkn1YB8nqrM22vGEL/rVORo1ZVgg=; b=nUCc6nkEXyv+RxcCngh0CiWWOF7V5GoBEt3SP7S+2sx7kV+oJ0Xcu8QDrytrkHg+NL JR08QJM1KeLuT16uMmupcmHTwmxBESF6keCEEh5yNq8sojPX04PMGOI6/s1xtMDN4MEW Zr/7W9VvNYXKXcZLX0GbRFq+e5dmspPELc21JwzIusNNlsnPd8JtYpbs/PLZcXZR+OSn 7yQuLxvZILxW0xr3QIR9ddQyFJjUQM57B1U2EIsVtHIKpb+9d9w00OSyDXrhTdDOtLaB XfjonEu3Gfqv0ZPJASejOLvM+ZQ/DMn6yNIAmUCZvD6OzgsrEbvtCcG0PmzgFmONB+RE Ylug== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LZKTjinT; 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 r2-v6si1480321pgd.138.2018.07.26.07.39.08; Thu, 26 Jul 2018 07:39:08 -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=LZKTjinT; 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 7F31978C32; Thu, 26 Jul 2018 14:39:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by mail.openembedded.org (Postfix) with ESMTP id 34CD678C27 for ; Thu, 26 Jul 2018 14:39:04 +0000 (UTC) Received: by mail-oi0-f65.google.com with SMTP id i12-v6so3358270oik.2 for ; Thu, 26 Jul 2018 07:39:05 -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=JHuqnINCg8+pJilqj5Riznu1z4v8wiQu/RQmpD0EK4o=; b=LZKTjinT5WuQ9kIw3m6XDEFc7cYnq4DObMHd2sd3yNNz3KLB2Xqhs3D9yBzuEZmIte oesqZ723xiq2rqngAt9VqE8xBpOqLXEuscy6T3tb2KlMSp6StbIt0zcmkFlC5qmyIu6L EVRysrgK26zEyiye5CNaXKjPy01Uq5uzTP8lM= 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=JHuqnINCg8+pJilqj5Riznu1z4v8wiQu/RQmpD0EK4o=; b=cb6B/tt1xC6+xttQYet3O9PuAfsQ1gXaCPMpOkOi7SxUHiFvaINxn4Kf2+u++9FbuG nUp/4492PBjoVSc8FvoEQoebmF21lv0VFpUYJCP3wk+PnwghfaTL5FbZCWvyU/CvLlSJ NgNYJJb4KLifCKSxCzs1AJWlpacxasmN/1NTsgFreoHDj5BNutYI41dAg9bJppu8HR8t PYljPIqOdgmp8gHi29nqS6FYBnzAFo7HcgAaaA5sAF8k7u618kcdpNxufPcG/WZzvhGz np7oKclri+LS4iLiIUzEqqMNrEzab2jbEEYTJD+SpJx9BKHFhHjGgRVr50+kGoqG05Yl VXDA== X-Gm-Message-State: AOUpUlHv/7uW53O50qvqYDDza3JodFWVtEbUVTfi/URSoQ+fo/4o70U7 s1OeFxlEroUIbIKjeBnWAJqr04mLHDE= X-Received: by 2002:aca:c484:: with SMTP id u126-v6mr2317910oif.209.1532615944780; Thu, 26 Jul 2018 07:39:04 -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 m203-v6sm2110840oig.42.2018.07.26.07.39.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jul 2018 07:39:03 -0700 (PDT) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: openembedded-core@lists.openembedded.org Date: Thu, 26 Jul 2018 09:38:53 -0500 Message-Id: <1532615933-26925-1-git-send-email-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [OE-core] [rocko][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 b6d8074..c360dd9 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc @@ -136,8 +136,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