From patchwork Sun Mar 3 00:38:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 159534 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2338189jad; Sat, 2 Mar 2019 16:38:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxfFr5rHZKbLfW7sEvtClwSwkzgp96LTFPU1IivVBlpfnh3O0umKAcHjQjcRL4d0VIWHtEK X-Received: by 2002:a62:64c6:: with SMTP id y189mr13165462pfb.103.1551573527146; Sat, 02 Mar 2019 16:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551573527; cv=none; d=google.com; s=arc-20160816; b=Gp895GhKR2c/qFZlpyVKtf8VPIVPqtxrikhBezkiiRi6dsjn1bBO44X0kY1nhziUaB m08F2Lx6sZQmv+dcHNo2VbwQPHft4M+npX0ZGqVwi4yfeKRYkpnQhC4yu+sCP2MxiDEt Jsy6nRwOVYfEmJzqr5JY1Fs8JbZ7vlk1ZCLjB93zNuB0m71vlg53cdL3UITKj15wZ40s dhJa4P/IF10Fl+42FPfUOXVJkGY5jDK6QIRa6IqPWSQK5+ePaX2tpgV7br3VrpC9UnQj Jmi4aO+KhieX/12scPqSy9Sj21cZBqxAdEhL8vGDXUgbSb+b7OifUrMb0JNAt8LzbmbE ts/Q== 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=DNAMag1zhLq1isO2mCNr8BTJ+EHNsIKJsOqAZ2pgpNA=; b=ZBuM3Vu6vGzTREuwjnKchUFotPXNhHPvyCBZnZ1oCMtZBTKgHa7OrCEcUxsUUsVsUS LsaurQ0kicpJnwLKl6KEQIRFhC3ZnAEC5/3g+B5GbsrcY1kTmKdSQ88n3ghoyJbtjZku rCwPuZkSkERUxSPeT4kHBMureOVZNBKNlqKgv3XmHvwePeChEbGXL1O2eAQMl5XRrn3d K8tPfehxXFvC9GJGuchxgcLIvFVj1mdNK0T0EHV9RbyR/f49OK5kKCQJComaoyWX44ha N9IeHNRUf/mEdpJyos9VndN6FVjg/Pm8z29hUnTS9H8ffvufOVkYs4RhL561yY3bS7lO 1J1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=l5K5o2e4; 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 c7si1757918plr.276.2019.03.02.16.38.46; Sat, 02 Mar 2019 16:38:47 -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=l5K5o2e4; 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 3D2B97C876; Sun, 3 Mar 2019 00:38:42 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@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 73A897C538 for ; Sun, 3 Mar 2019 00:38:40 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id a3so713696pff.11 for ; Sat, 02 Mar 2019 16:38:41 -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=6WwkSPJyLfHqzaATIlJV9Q8PWGblq5yoAJD6fLpOP24=; b=l5K5o2e4UkYExrC9FyLv2itnZzkUSlXTRNFRLnFkYU4QiNwdtWwehcG/zXdB+uArDa VZFs02QAfPqgPSeuJbf4o4GXgm6koccVAFiDjd+e2+CWDU20wTi1OqFFyrIZq52hZNZa +hwbTmLrcx78o2MMkz0SG0iVOSaKbJbrraZoIToUTv6povzJZSCf43zLlYbZC4QKAAI+ hxdLUn5FqmTbU4XrDLVGkr5+mEZTgf/YZo9F4OV7pS9MyOsX5KGxzOjKaOp+hIJvwrMM 7so3PiL2kd4U8jqZpRewCinu1Cl1tzgiigjTInokOCJK1ih2gk5KjV95QwZsp+16CYTq t/Xw== 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=6WwkSPJyLfHqzaATIlJV9Q8PWGblq5yoAJD6fLpOP24=; b=ECSBTo6m9kPr6U7FLYz3KU52UYjyC60UuzZzC1w9N7vCx41bP9CYysrdOiNCqt2Xzw +n2tApuAYn5pCetI4ljSxZGFmEOtR1B8VChvxDJkNC3dEGUL5vFYnVoNqAl+c0rjQr2Z x2kHrP6OtpUjQZ7sAOIR31zX7xD6qDGnFIWL3N4Ie3bIrHXIH2tK3yqNv8xeNvQVfSfE 3imwoudG98yEPQUvgLqEJ2LezLKZW8vHe2GNqYRwRR9qj89jFdke49H1snx+jOBD6oos giMEzQFgVGu933tw6UJ65UebcSk8FEhigKReMBm9pEMZmEGPJF/6hotc9xIowJ+40Xge YdQQ== X-Gm-Message-State: AHQUAuYwRjY2z2+kKM4IR1a99XUSz3dYeVu5+6mJ7cVEY+3TkJXOgsRG rLM0gVv2VQA08YVkUhK0j1+hv+eO X-Received: by 2002:a62:5543:: with SMTP id j64mr12967600pfb.105.1551573520870; Sat, 02 Mar 2019 16:38:40 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::5fa3]) by smtp.gmail.com with ESMTPSA id f65sm2889328pff.21.2019.03.02.16.38.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Mar 2019 16:38:40 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 2 Mar 2019 16:38:33 -0800 Message-Id: <20190303003834.44637-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] grub: Enhance Waddress-of-packed-member patch to cover x86_64 testcase 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 This was not compiled last time when testing aarch64 Signed-off-by: Khem Raj --- .../files/disable-address-of-packed-member.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.21.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch index 4af6a599d5..415f52ebe3 100644 --- a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch +++ b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch @@ -247,3 +247,16 @@ Signed-off-by: Khem Raj static grub_dl_t my_mod; +--- a/grub-core/commands/usbtest.c ++++ b/grub-core/commands/usbtest.c +@@ -63,6 +63,10 @@ static const char *usb_devspeed[] = + "High" + }; + ++#if __GNUC__ >= 9 ++#pragma GCC diagnostic ignored "-Waddress-of-packed-member" ++#endif ++ + static grub_usb_err_t + grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int langid, + char **string) From patchwork Sun Mar 3 00:38: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: 159535 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2338425jad; Sat, 2 Mar 2019 16:39:16 -0800 (PST) X-Google-Smtp-Source: APXvYqw/C8VS/zkzP9yZzqmJMHZ5NNg+fJ9y2ADHuz/86tfx8aXfRF9axObZr3ghw7BIo1IKAWVO X-Received: by 2002:a65:5cc7:: with SMTP id b7mr11969565pgt.396.1551573556298; Sat, 02 Mar 2019 16:39:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551573556; cv=none; d=google.com; s=arc-20160816; b=yz47FFADwIDNoyBQP6UUWgUYEoq/Imk1I++DeXoQMvW3P8dWCHAI9MbUb4pQvF8Ceg FUO6duuCKaR21fUiey5842K/NQ4+qkJjdST7/MdyX6OjTjyLAGHS2HeXd6z+uDtv/1yC RK6igaanKiP7SZG064D79LBfZ/8voSYFDrKkSb6SfJB/aeXhRLYztyszzq6q/t+Sm3Dw K4wKYBXk12F0WkpTD4Pfpa+sO9sQGT5b+nZ6ewK2Gy/o2tzWZse/saeVMwybNqdTcHAU /dGR8o7EPQlzgjD9eddym1j28oFEi8Z1C/JtN0zhzCuBu21G/rDaRJdyeAadCPdLWLjQ 0zCA== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=55IROAP+l3CUA0azGhXhv0URfm30NZSwpkou07BKqYE=; b=y+WYV9/Tw8aPYd4UfmoIQjoZx0SPRcA7lYmQHOGbsnlQ5gL4itYbMKmTLcUDnGystS Ubq0W0Ho5VIwfjg7lpc5nPdL0ivv8kNDqaP5YOFvqMKOWdVwlUNx9VX6tLi2eHQVwZpo HL19OvgHrkec4DSyivE0iInEgy4K3lyg50UbDLK+Yqrj0APy1OArRzM5h36RcJtceOqN 6NA3qD7u8z3OxQY0KAxtxNkgVIK22Qn7Tvn6DuJmJIztnQtfNWtDj15dmZI5GO90vUTj HLXdIsAWSYOpt939T9p1Xg1oEGY9N/Lss0PZPZyzZPp6Ib2iq823gkZhWn+bTOSsYtIs sAqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IdT+nkYb; 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 s143si1723787pgs.411.2019.03.02.16.39.15; Sat, 02 Mar 2019 16:39:16 -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=IdT+nkYb; 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 BC3747C87D; Sun, 3 Mar 2019 00:39:13 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mail.openembedded.org (Postfix) with ESMTP id D7BD87C538 for ; Sun, 3 Mar 2019 00:38:40 +0000 (UTC) Received: by mail-pl1-f173.google.com with SMTP id g37so770440plb.5 for ; Sat, 02 Mar 2019 16:38:42 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=NeUMJvEpnavzqLzRupXSgXAfk14xWhYL3SRRINjLIC4=; b=IdT+nkYbpdFnPNhLO+yEAGazooQ0qScppf0hzUqzwd40KD0GAah4UGjseZgM1cSQCe Kpd5712HcZrKRlg2Va0Xr89lm9Kyfmjzd8BBbQt+QrlcPEUft6h1UzIYDa62GjCruA3k cnPgprjYZV1gEz2750grdVHYw6Lt54sgLvjCZ/+tm+mDwa7H6ZSDVIYUkmg0NDOMOz0a TvTd6js9C73sPh3bj0nOAXZEo7Rw56rQGq5siU4ZGrFGU277JwoIVFHnmSg6vopYLN6A MacY3lPYuybt+BOmokV0MTHpV5ZfmtF+jsHzuWtGFrGvCRx47iNWFNIn9FA0sn7bAZmF fm7A== 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:mime-version:content-transfer-encoding; bh=NeUMJvEpnavzqLzRupXSgXAfk14xWhYL3SRRINjLIC4=; b=D6TxGgdpv+wLk45cSoC0fUkQ5J6CxZTdgvtyVirrsk15NdWehcFQN8k9VN02NdEg6f r0zeydM/H7DEMYaSplvpwna2vPXRNs5wtAX2JNMFrXaW1TuytXS6uzRA/hk1zmv2newI fUkpL32+idKTpLJfV3h/shsSFn/WwDl2qS5aEHM7U2KsDx5c0pkhAU/5cyLyCgYAJyRp GhH2S+tHyO/lbu7N8CrniRjvkaCw8RF8eCyNiUAGewRNHTEjMsztDG9lL9d1EWxHJH3E f/qZwrMC1PmUj+4BrQs19P9uGtEDNofttelHebIlFUuspn/EXr7BoUNIrXUJOsclxa1g L00w== X-Gm-Message-State: APjAAAWssPCIzZsJ01JzvTtGvEFbKz7L1B01Pr1x5Au7fSTLSNOuq2RC y0AYJfBzOLsvW5FFIwdbbjF12UZ3 X-Received: by 2002:a17:902:1101:: with SMTP id d1mr12653665pla.19.1551573521558; Sat, 02 Mar 2019 16:38:41 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::5fa3]) by smtp.gmail.com with ESMTPSA id f65sm2889328pff.21.2019.03.02.16.38.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Mar 2019 16:38:41 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 2 Mar 2019 16:38:34 -0800 Message-Id: <20190303003834.44637-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190303003834.44637-1-raj.khem@gmail.com> References: <20190303003834.44637-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] xserver-xorg: Fix build errors with clang 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 Signed-off-by: Khem Raj --- ...t-xtest-Initialize-array-with-braces.patch | 36 +++++++++++++++++++ .../xorg-xserver/xserver-xorg_1.20.4.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch -- 2.21.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch new file mode 100644 index 0000000000..c0c242814b --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch @@ -0,0 +1,36 @@ +From 8a382c015cd3c69fcfc146ef03dcbf30c77ff207 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 1 Mar 2019 09:47:57 -0800 +Subject: [PATCH] test/xtest: Initialize array with braces + +Fixes an error when extra warnings are enabled, this is caught with clang + +test/xtest.c:64:23: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] + WindowRec root = {0}; + ^ + {} +1 error generated. + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + test/xtest.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/xtest.c b/test/xtest.c +index fc5e433..d7e6620 100644 +--- a/test/xtest.c ++++ b/test/xtest.c +@@ -61,7 +61,7 @@ xtest_init_devices(void) + { + ScreenRec screen = {0}; + ClientRec server_client = {0}; +- WindowRec root = {0}; ++ WindowRec root = {{0}}; + WindowOptRec optional = {0}; + + /* random stuff that needs initialization */ +-- +2.21.0 + diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.4.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.4.bb index 3f55987bba..ad99d6bece 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.4.bb +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.4.bb @@ -3,6 +3,7 @@ require xserver-xorg.inc SRC_URI += "file://musl-arm-inb-outb.patch \ file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \ file://pkgconfig.patch \ + file://0001-test-xtest-Initialize-array-with-braces.patch \ " SRC_URI[md5sum] = "c4841cc24b79420205d082fe82e0a650" SRC_URI[sha256sum] = "fe0fd493ebe93bfc56bede382fa204458ff5f636ea54d413a5d1bd58e19166ee"