From patchwork Wed Jun 6 21:37:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 137847 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1290434lji; Wed, 6 Jun 2018 14:38:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLnSJO6fOrnGrbYISHXI1AFD/cgm4t38aZ9UEOBDHNVt4Bj3cfaTXnMFvyiWSQ1sJN/IKtq X-Received: by 2002:a65:4081:: with SMTP id t1-v6mr4002954pgp.32.1528321118948; Wed, 06 Jun 2018 14:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528321118; cv=none; d=google.com; s=arc-20160816; b=A0t0/iZaQp2CD7f+OXtjwehcx7kw7mdyoJeEwZ7rGijNu39lHpVhwJX+MmtUq5sl/i omvtgP/PInOe88y0RuBT4y7m97qIjvsvd5Uto+ljIryBKT7h18Nfh9btRgbz7dP9yRYr vMSWJ7c3xnHxXi3/INlsnDPWeKsHcrsxQ2Hb04P/Ed+C+StohsLsGUJdG3e+leY5h4Ug 4QiTMdYmrsMqaJKgrsudUNOUq/xCFfCvUaMVZMmnIMASVJSq5xg/g8NpAjmOMjfjQ9fZ 5FZZOkLmrpRA0FE7HfjKaUObCN6uNPJztoDYVF0lSMzUPPddLAqZ56I/C2jwvlEhobpw ip7w== 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:arc-authentication-results; bh=5RV9soPVKL1gSigzXrVETo+mNvmGiJbfdmoKRpKyRz0=; b=aGEQyzIkcviiSKtuYlEnAJIyWP+NCxf5rWmAkvRgYxrDUzo47O8WjjxSqASir1POY7 p6VA4+m3ggUB+0MjnU2XJGSGZdxeywc6ubvbbVjTqQxZAjDEfCLdolIhYUn0E2QGFMd3 j5wJjzjiTPIRjW2+q9XDG3c+sVajxVpFKp45K5DvxrQOEMjxmEE6u66JsbMCE/jPDL8t stH3z55m2LfdyaOrGnEugIK8Rw3NaTzhZAZE3XhLQ2tycxP1Rg0fkkWLspgNQMn2SChp uc2+Pf8GI2gUmL5Q0P7BPJWeRfJnuSAJV+urhPMI6+IsiDNe+yUzHJRfcAc6+xOkl9ZH 61pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lLyjNDO1; 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=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 p16-v6si6534883pff.356.2018.06.06.14.38.38; Wed, 06 Jun 2018 14:38:38 -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=@gmail.com header.s=20161025 header.b=lLyjNDO1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 032A0783FB; Wed, 6 Jun 2018 21:37:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by mail.openembedded.org (Postfix) with ESMTP id 4381278263 for ; Wed, 6 Jun 2018 21:37:37 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id d2-v6so3623795pga.13 for ; Wed, 06 Jun 2018 14:37:38 -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:in-reply-to:references; bh=bMJVWMN0uGkePdK35IsJZvJbisVGnygV0MLjes13C5Y=; b=lLyjNDO1h/GhhFkTQ242y6vtlFK+kNvUA0MmzeaHpfQ7Yru1Xtf++hueK5QU180FX/ bl5nb8wtmXT2MVfpSpldpGSUUBIglBtB57dz3x1tzG1Rx1SPp6mfZYHXQm36hRTQUPZV +K8NKl9yPT3iITaGfnGz8v9v9Mbsa5J9nDS59ZGCNg5PSOcf9GfeM9rXEyPWj7FKE3Yt lne2APRxHPmObLbv6qPMS7rcLOCw6OSK8RSAuxiiWcfN2PDirMMaOhCzJ9nzPvOgDQx+ TxkQwP7bCeWro63RG74KRAcY7rk17IiejTtBdeKhgnyTr6KLPD+RN5ifFLvrFcs/q6NW XwuQ== 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:in-reply-to :references; bh=bMJVWMN0uGkePdK35IsJZvJbisVGnygV0MLjes13C5Y=; b=K5UMg5prRg+w3N7thx74kl/Gzx51JDphoJstATAOb5uSXJZzvb8TpDO49DrNOio5ad IYWsUnXXFE+AzPxkwVTWQvOPdpIpNZ7VK8XyK4YSTcB5QCzCxph05R5pofKN+SoEMK5A mAmqc4aZSO+obHDnBvA/IN5SKpWTx0qEmpD/0VS9/UOcffnYzqnZ9WelBIIhWYpoqJmO /I8R26Cksm485RjK31TJfF8QrVwy0tOuGFj6XPvJgtKWJeIa25IyTUgK1iwureLIuCdo YgbIGCH3ysvYSl6WEDIrYXZeztRftNyVta14Pgezf6rvQ10jv88onHfODSROpsVqPOm5 VD6A== X-Gm-Message-State: APt69E2nrr54e4mVRSM5oEGD38gydhLDLp5sox5n8AVF9+NmAoTIzcUz Ji6TqHF8MEWS5MSJcmnUBX5xuA== X-Received: by 2002:a62:8dd1:: with SMTP id p78-v6mr4024627pfk.141.1528321058034; Wed, 06 Jun 2018 14:37:38 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id c191-v6sm30452374pfg.48.2018.06.06.14.37.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 14:37:37 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 6 Jun 2018 14:37:27 -0700 Message-Id: <8bd3847db5f79d7bcc2f43dd334165667f20c7fb.1528320772.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 11/12] linux-yocto: Fix mips64 build with gcc8 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ps64-Disable-attribute-alias-warning.patch | 26 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta/recipes-kernel/linux/files/0001-mips64-Disable-attribute-alias-warning.patch -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-kernel/linux/files/0001-mips64-Disable-attribute-alias-warning.patch b/meta/recipes-kernel/linux/files/0001-mips64-Disable-attribute-alias-warning.patch new file mode 100644 index 0000000000..0d3882f985 --- /dev/null +++ b/meta/recipes-kernel/linux/files/0001-mips64-Disable-attribute-alias-warning.patch @@ -0,0 +1,26 @@ +From 65fa442fb787b03aa28920cf54a4d1e6da10bb35 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 4 May 2018 12:43:49 -0700 +Subject: [PATCH] mips64: Disable attribute-alias warning + +Signed-off-by: Khem Raj +--- + arch/mips/kernel/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile +index eb92e52eb3db..795aa4c9ef7f 100644 +--- a/arch/mips/kernel/Makefile ++++ b/arch/mips/kernel/Makefile +@@ -4,6 +4,8 @@ + # + CFLAGS_signal.o += $(call cc-disable-warning, attribute-alias) + CFLAGS_syscall.o += $(call cc-disable-warning, attribute-alias) ++CFLAGS_linux32.o += $(call cc-disable-warning, attribute-alias) ++CFLAGS_signal32.o += $(call cc-disable-warning, attribute-alias) + + extra-y := head.o vmlinux.lds + +-- +2.17.0 + diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb b/meta/recipes-kernel/linux/linux-yocto_4.15.bb index d579ffd645..32e63a57d6 100644 --- a/meta/recipes-kernel/linux/linux-yocto_4.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb @@ -27,6 +27,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA SRC_URI += "file://0001-powerpc-Disable-attribute-alias-warnings-from-gcc8.patch \ file://0002-powerpc-ptrace-Disable-array-bounds-warning-with-gcc.patch \ file://0001-mips-Disable-attribute-alias-warnings.patch \ + file://0001-mips64-Disable-attribute-alias-warning.patch \ " LINUX_VERSION ?= "4.15.13"