From patchwork Sun Sep 29 23:55:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 174701 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6444834ill; Sun, 29 Sep 2019 16:56:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEHPwB5ho0uA2oIO0Pdebf4XO2Z9QFue+Jsy3abS0A9M1XUX3QJ8O2c+7eU6gO2hJWpzHq X-Received: by 2002:a63:475d:: with SMTP id w29mr21458344pgk.46.1569801418618; Sun, 29 Sep 2019 16:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569801418; cv=none; d=google.com; s=arc-20160816; b=JDuSFB4c3DjF/Y+/syJJLi0LVd44sBk18Iho8uu2GZaxsNMI0+MNoGPjiYyPuW/3S+ pivtU6KkS+3qW+4LrbdfqQDprsj2pT7Silt/snfcU5F/Hzw+1ZEgMgDd7INvVMd7Yn5+ LggM8z8+rvhoSUOFWOBfH1QPZBbIUWwSggRiCbe2RWFZNsvYi1OClmjpLJTNtJOnbkSk fKaouk3dZnrAcZKGYf+vpTya4Pn+e5FXgWC+UnfB/gZDNID37EGiDKxCpnKEHIZ0nbw1 2na2SGywdsGdoKuc+4gZAfSCSFXsqu4TiBuvGb5a4t5Yk7T0ufoJFUh7mluWBUBM6JwD J5lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=P5ATCzxIhpmV2T5RYUft6t+9QyYxACUhrVwQavnrStc=; b=ZxKCojj/vWXM/ToALs9jlb5Do6dEf9EKwCsi3caHsd2/uUb9WzvkfrKMTfQ4b49CKh ZPX/GsGyjkq9Iq9OsLhB/iba5ED5w4EwjZ3RWf35+FWyaHCGZO72efM05nv04nPQZBmO qqy3D4P84VoAjD8XOv93EY90Qtk5Co+TscAINAcUkT4mMfqyzw49uFjyZOijK1/Z1vGq U9GrwGyfyEWr4wdz20T/zmBzNB1A7zC78SvRyBI8jIAg/dxPSeeKDTSrY5P3BY0Is65X +Azmghx4qQxzTUN1YSDXh/nluV9yrfEOpZoL1ZvHLqQ6RuxHfspRSmPNQnTrPWXkp21K EIYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=SyfdDzvq; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 123si10765332pfx.189.2019.09.29.16.56.58; Sun, 29 Sep 2019 16:56:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=@gmail.com header.s=20161025 header.b=SyfdDzvq; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 498307F2F1; Sun, 29 Sep 2019 23:56:20 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id 8BF307F281 for ; Sun, 29 Sep 2019 23:55:23 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id a2so4491709pfo.10 for ; Sun, 29 Sep 2019 16:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=ArQrmhMTUaLiIL6VjFftZwTl2x/46SQLBDIlzVKmD7s=; b=SyfdDzvqMWVvBGK65t5xeFuhUanZILEIma9vD85u3TjggVj5yhfgLTYqc/RsKVsq99 PidjMj2CAxZt5IXmEH1PsD1Lqg+3zApJHqHG40iDf2tQbd3bPiXBfl2K9kwTliTwx5i2 v8MOrB7uULEYVOCN3t4JuXyS3nNm0K8ZvRKC7N24KI4+fgZq30sXPA2jCmHEHugTOewM zfN/BjESztRfcfQes3GLvaIeQDEXkCkMa7nRncAufpmpRvUCz3WYtH1tkZijqcHp6dWb hyQ1xhcpFceqMMJUODwdU9D2NRj2+8fWnGKYr9REQtgUPXciudY5v6JFFb70ZkL2p8yA FdEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ArQrmhMTUaLiIL6VjFftZwTl2x/46SQLBDIlzVKmD7s=; b=RAYnUrJK5chCfJGGhxlKUQr+WMNt04onI5tdWzbo+5TVCkkoaSrxDt9mUvjTrf28O8 ZwQnLmptwbFFxCDGwfe+du5zLuEEcTd2uTAE9HbiC/yxoVlELjO1D/qeGGaoI62I3c5i Vu9SECaTAL0IthxdPkhoI32uDxaOjgqByQpsSTOdBAXkvlFUsMgrBT1slgBFXZ8jK84t w48U8u5OQyNsfFiDQrYjxdrTKyWKoPZeD+g+hGGsrry3NK0/RHP04L84wTpouT6bwMgM 2RjryTUpSoNOHdPM2G7EPj0NyggOfixnr1nvBc3rdi94Wy5ZF9ihMm+Bu+9OumoJZIYQ zEHA== X-Gm-Message-State: APjAAAUWq2bypftF9016OpTxSDwsC0R+mBkY2+9/9/QCn/WV+1Tw2z56 fv7hFjT+9YTD34n2om+2QC7env8kkL4= X-Received: by 2002:a65:4002:: with SMTP id f2mr21516456pgp.447.1569801324585; Sun, 29 Sep 2019 16:55:24 -0700 (PDT) Received: from akuster-ThinkPad-T460s.hsd1.ca.comcast.net ([2601:202:4180:a5c0:edf9:811d:ad92:85c2]) by smtp.gmail.com with ESMTPSA id p190sm14474778pfb.160.2019.09.29.16.55.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Sep 2019 16:55:24 -0700 (PDT) From: Armin Kuster To: openembedded-devel@lists.openembedded.org Date: Sun, 29 Sep 2019 16:55:05 -0700 Message-Id: <7121ffac6230e8fe0ff09fcf98906bab03e27a75.1569801183.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [oe] [warrior-next 07/10] bpftool.bb: Disable SECURITY_CFLAGS X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org From: Khem Raj We do not pass CFLAGS to build and fortify sources needs some optimization to be enabled, its better to reset the additional flags and let the build system add them as it needs Fixes build failures like tools/include/tools/libc_compat.h:11:21: error: static declaration of 'reallocarray' follows non-static declaration | 11 | static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) | | ^~~~~~~~~~~~ Signed-off-by: Khem Raj (cherry picked from commit d46e1e767f6b91dc25935e0c48d9d362dd50d879) Signed-off-by: Armin Kuster --- meta-oe/recipes-kernel/bpftool/bpftool.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb index f75ac6f..a5df547 100644 --- a/meta-oe/recipes-kernel/bpftool/bpftool.bb +++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb @@ -10,7 +10,9 @@ inherit bash-completion kernelsrc kernel-arch do_populate_lic[depends] += "virtual/kernel:do_patch" -EXTRA_OEMAKE = "-C ${S}/tools/bpf/bpftool O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" +EXTRA_OEMAKE = "V=1 -C ${S}/tools/bpf/bpftool O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" + +SECURITY_CFLAGS = "" do_configure[depends] += "virtual/kernel:do_shared_workdir"