From patchwork Thu Aug 29 01:47:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 172514 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1548040ily; Wed, 28 Aug 2019 18:47:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvWUJV8L2QcrPR1HQdos16DlsdvtKRmSwAczrk2scWNmrgY0itQkASjSnEz2ZK6h04NeJX X-Received: by 2002:a63:e54:: with SMTP id 20mr5908178pgo.244.1567043268324; Wed, 28 Aug 2019 18:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567043268; cv=none; d=google.com; s=arc-20160816; b=ZtKAUL0XCWimbUcUGPri/4uVv9TH/bzZT5qWioDoe5bNWvgnFiYNChf7JLV9xfxL5d b78p3Hv3TrjVktwXFKJ2E4JEGgJzJrhif++zVPFzRId383+QlqV1kF/ZQpujQDmZGtTi WnQCVCG3pPT8r50cdLbCOjRMFGfvugkdHQrHvW3WdSCbDeHLWDR/pvOvjUpEzAnT5sfe fDYtINrIYujENqdxPmkdSjJN4jxPR9ReF/EurKbCJyCrS0kq5bAfg9wRQOyEBI2uJPs9 wmJiB2q9LXA6HXASKh96UaGbd1wPfMSMlfLO7SlBL46w4OZSidR3+okDoYuloqEtPr9z bkgQ== 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; bh=IYOjyZeorG8y6d0jG2HhYu3TcE2WG76ilFtOFgUAAu0=; b=pQw85POvbRDAMZtHV/cpGbAKC4RJc5fvJkKwy3cZWSNACSi891nChji7lCqMv1h2PX fUKvybfdH2qKxpouCn4cmB9Ox6Xj/TN2866vTuxCMC9LBLgzJ6pml8eFYPU1gddJnyzD tt2XVvUWo2kxU/JtagVhljZG24TJ+jC4ybdY813wNWQfkbQa3x4C881eVF8/ZLii0VgA TtEBnG6sxCuIW1HV1jJO11B6vG3GBvOrmIDJx9UtCdcCXv8TdvOlgI+fHRrINgqplGkM sMlqTxre8LOc7wf0p2LdZhOvqipYYTH/IaFuzWjxgFDtk6StTpt48dIUxaPn2pgKAB17 LPrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ia6M19Gd; 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 e66si665463pgc.197.2019.08.28.18.47.47; Wed, 28 Aug 2019 18:47:48 -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=Ia6M19Gd; 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 01D187F2ED; Thu, 29 Aug 2019 01:47:44 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by mail.openembedded.org (Postfix) with ESMTP id BCEE27ECB9 for ; Thu, 29 Aug 2019 01:47:42 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id w26so927942pfq.12 for ; Wed, 28 Aug 2019 18:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Cs6hhHORDg/pTKobjLpisIqECchtUL0ghAKg2y+1jrQ=; b=Ia6M19GdgPWQVqafINltYx3ckjf0O+V2UG7RFJPZkVQv0LsvVe2FIYhQ+S3xLiw7uo H0FyQ3sGZEQ6aGyLCMVeNzi4RZxnLjPW3FOiZaVm+tRtQgVYpu/XWopTvl2KItKPEx1P 1xYTMFRqlqHi+R+KVWmDbsn1AKzHef6U17lR0ZAct8cIEANGAGIKFybJPOTtdmJGe/Ia opQD8Tf3y/h6ib6MR7qZG/gY3EB+/F4UofCYzaTbbkOVUk3FHaK0K7vl+XnMRjnu2CLE oNRB53jWimrGKheRLaf1ENFGeWuSLzlVEuDFvmRDth7T0htWRsRNCtheO8YmYAmIUHc9 +Y5w== 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=Cs6hhHORDg/pTKobjLpisIqECchtUL0ghAKg2y+1jrQ=; b=mk0DBNmB05HBcwV7zhYt7jU5+v6ZQPWv2ME5cWaSzhXgV9RS4vhQFl5Ltps69ExYT4 j9N2JeCK8246w2LPIx9HZKxh4v8pPdtWNxsKQQq1jw3H4R2ysKJIpUAuiqutJzxXuSWf uNlJXo/Vzz1ewVXi+TEjCJi9KCPWjt2ZM13PlFQASbdCQNt6qUlLRUTUPNR0ovJiQhrI nF7Bptke5YsA5kRZWOeE/hdWG0q4r3W71/009/8txy14uTYGHr2zesRrJtjh0KSTGXJo LjTon4ClcVkRG14H6njV311l0PjfbPuZ59VjSp++nCBcjbqaEA4f3E2kXQLPJDciWJsf 7UNw== X-Gm-Message-State: APjAAAWAYDFpCZeyJ2WBhYIKuhROwxADlz6rjquAI+ZsADI+GJeusF6I RVD00BfvJIhBR8EtCB3bGOkTv1bowiI= X-Received: by 2002:a63:f118:: with SMTP id f24mr6211894pgi.322.1567043263342; Wed, 28 Aug 2019 18:47:43 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id j6sm424062pjd.19.2019.08.28.18.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 18:47:42 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 28 Aug 2019 18:47:34 -0700 Message-Id: <20190829014734.44623-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org 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 --- meta-oe/recipes-kernel/bpftool/bpftool.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.23.0 -- _______________________________________________ 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 39c478a954..e58bdd4933 100644 --- a/meta-oe/recipes-kernel/bpftool/bpftool.bb +++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb @@ -9,7 +9,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"