From patchwork Wed Feb 6 08:44:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157585 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6154414jaa; Wed, 6 Feb 2019 00:44:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IbVKcLrJ+UUdGQhJ93D9lLo9vTfIB/KOba3+dyHO/7bzH008MPgqaU5CCHrvq3u+byWtE/Z X-Received: by 2002:aa7:868f:: with SMTP id d15mr9274131pfo.225.1549442694038; Wed, 06 Feb 2019 00:44:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549442694; cv=none; d=google.com; s=arc-20160816; b=Kfx4duf080XWfjK78P03E5LfGH5P/X79bI0pKs6rYZZdQ7UgRZPQdkh2e50uFnolJw gVFurx7Iu+DiNxvCT7IbzJoxQahgfKEEX4DHmp27WRhVsMa5DynOZw+NcjwraN3CsmeW CVb4pKbunyeUJtKIQzhDDfhIedROo97DqyhFeYVne5yCsI0FAL4l6K77Bon0Rso5njd2 NJi05aM6A/ltL+LsqPOP6E4/2Yj9dS0Ka8OCWYJ5e571mnq2S4ULOe+aTEDrzzkmjKCB 4PaO2e5qOU/yXBQbYHX0p5z4V9HgSEwspimasDq+2OrCTjkevvonPf09ICAFQ2lJxF/A hPGA== 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=FnHREl3tC0AIrg37JMezXUThW86KhSYpXCUDlXFmO7c=; b=ENISxlqDtuk8wLruY3u50hbrogrvkhoqkd5XSN7gUNFGnLQMOkkks86vHk0mEMrXaG u7CrqRGVC5Z+J1tqcNvynNwTp00wQElLqKGyZdHdXTSfW0V2MQOdR9+LuBBU6PPOc3Yv NUNXdrwocFw0YTqqpL2DinjVYeexw3tMZrGhYulwE7U2WFlKINk7RPE49ZOosNsVR4YU P2zLowweiDlb0EgRM/MVmK9wttec/XrrkB25G2Qv0HLc+on2NZh5XXy/lEIBeLg/FFq6 4ZIi4QNmdEbKJsnZp/IXPw8g6nl5ewCdAfKcHt23y/FRA6cIB204lCHtfOWO8NCrufJI sNSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HM8+kSY1; 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 f6si5005310pgc.509.2019.02.06.00.44.53; Wed, 06 Feb 2019 00:44:54 -0800 (PST) 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=HM8+kSY1; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F3AA67C3D9; Wed, 6 Feb 2019 08:44:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 397AA7C3A3 for ; Wed, 6 Feb 2019 08:44:51 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id u6so2767140pfh.11 for ; Wed, 06 Feb 2019 00:44:52 -0800 (PST) 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=1iBb265PAU/siJrfS6xv2rU50ijYT+bMLG6G2Wiv/Nw=; b=HM8+kSY1m9KEc97STqAwnCuZ7erPrib5OVVfFnTxgJrshz09qrOTpsKzNNEQW0J40Z APBeoJrCStpdxprIhrI1zTdHoyJW26a7xI571hrrNCHzMQKbYvyRsgApjJsvxOXL+gOI b1s7fuw+fDXnFA4UtQfJ9X4TAgJ0DJEpQ0kWcA2pDmSWzdqg3kw9UQsoM/DmmwynEMSX ZkatY10jeGLrMyp8TgfRhmZT32Xw+PudBxZECpdA89egOB8sjcRHJiIhh2XVH2xkcCgW cgihuZDLlRJtpAF0148OgUn4lIEIx15tTChITkDxfAvXMBBA9zZg8vePsHuWREUHFBnS bAaA== 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=1iBb265PAU/siJrfS6xv2rU50ijYT+bMLG6G2Wiv/Nw=; b=ZDOFWTgfqMwowP+IYlnuEZvBUBklrg5Dk2i4vxfu8w8qFejM7AcwvLGq9gW6r6dAz2 UA6BepeJehzxRfm3XnvsEnpy3xlGzpBNj5sBhSYK4Srm9jF3jmjjp3L7t9VZNHpKiK92 a2BIq/E6Xt3W5P7ZWH2K83YXz9OY9twpv6z84kI0N+otlEj+SGH81g/Ms4oYvFl48Fac RSniMD4EK+jDnQT2p0aEquZRCRH3ou9/jYqlD/wN0e4RpEHt01U9CiPSNaswveyj6oUL nJPM8neFPzoEGG/Yb9IlZqzotq1u+G9AokwRe3LzN8Nsxq8AC2Vw/Bwf+OP5KFk8QWtS l0yA== X-Gm-Message-State: AHQUAubAumnnYrCn/gtnGx2c0agZf3ACB1GiRNAz/ITcSPemoiw2UXUl hO3RbPhknkg7YCdWldpDVzvSMJ3V X-Received: by 2002:a62:37c3:: with SMTP id e186mr9597583pfa.251.1549442692048; Wed, 06 Feb 2019 00:44:52 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::a005]) by smtp.gmail.com with ESMTPSA id u137sm7819839pfc.140.2019.02.06.00.44.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 00:44:51 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 6 Feb 2019 00:44:44 -0800 Message-Id: <20190206084444.16250-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] grub2: Disable address-of-packed-member warnings 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 gcc9 has turned this warning into error when -Werror is used, lets paper it over by turning it into a warning for now Fixes error: taking address of packed member of 'struct head' may result in an unaligned pointer value [-Werror=address-of-packed-member] Signed-off-by: Khem Raj --- meta/recipes-bsp/grub/grub2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 8e0f86217c..28e1c210e8 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -60,7 +60,7 @@ BUILD_CPPFLAGS = "" BUILD_CFLAGS = "" BUILD_CXXFLAGS = "" BUILD_LDFLAGS = "" - +CPPFLAGS += "-Wno-error=address-of-packed-member" do_configure_prepend() { # The grub2 configure script uses variables such as TARGET_CFLAGS etc # for its own purposes. Remove the OE versions from the environment to