From patchwork Mon Sep 9 15:35:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 173388 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp4522902ilq; Mon, 9 Sep 2019 08:36:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYZ1X8XN23TI4gZrxd9uOtB7WtOxsQWEgHw+c5oix5p3g00iTnGAehxzW62uNaE3z/WQQG X-Received: by 2002:a17:90a:5d0d:: with SMTP id s13mr26075149pji.133.1568043375491; Mon, 09 Sep 2019 08:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568043375; cv=none; d=google.com; s=arc-20160816; b=1D3NBIuTQNE4V41UapInLOrbOeiNDzbnHzaBG6qm5b7Ood4NLsB8XIjzIjMkX5RVzC GwIjU24QlOfGhI1dxwxHpBk9cx3BngPnE+FqXgJLFrnGShmWv8vod9BvJMOVC0cXnsVM rZ2qvtmq8NtFeutaJGojMt47lGWN2StC+6tjguNshmw/YtAPwebPOmoFwm0zBeGCMyqQ Ff4Yf04krsZ+JL2dhRv6Mn3DgSynmMk+jgr1iYnsz6pbgPEhgETRrFDVCA/p52yfIiGq 0atT4EwpL/chR26vwohTnibOEEWXxdjiBc77CG5RqRTPyH40I0QMV810tff0NH3VYgUu XaFg== 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=vlwYuCCmRswNCU/Tq11D5OOfZTLlC8JbaMOyy3VP4Ec=; b=eT8iKXLnbBkXNYSPAj6SovraO/VW/H1hf65fRkPXSZiZ/40XQRC0VlfbvAcA1lT/9A 49kcfJ6k3HOHhclFB8UIgS2lYNMBFoK7IbWzOX7eWAeFS/khJwoi3iVNv0x7os8Y17MQ 00ZYQaDCevyV5jHjLUGmSsh8MpBEUOwBD8HhxFX13zlaGUD5G0cdSsfTVQbPVpgwl1o/ gf24ZyiNbbs0kcyv45BKhJBfm5oRH7oQAztRh97S1BefDk5EKhfpbK4/Vr9QAHfn0pfl 2TspEF+FZma9ZkNOTAl4/pcSoo/quB6bM0wcnyJVAZM9nw7VygAKo3IYO2x8qjAmHzlI b85g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HI146LF7; 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 b5si12828798pgc.396.2019.09.09.08.36.15; Mon, 09 Sep 2019 08:36:15 -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=HI146LF7; 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 EDC917F376; Mon, 9 Sep 2019 15:36:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mail.openembedded.org (Postfix) with ESMTP id 777A56A441 for ; Mon, 9 Sep 2019 15:36:05 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id m3so8016133pgv.13 for ; Mon, 09 Sep 2019 08:36:06 -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=juMEMxiIjeBNohHCt36HvN3aW56YYt5AFo7HAodNU5w=; b=HI146LF7mB9D6vEVgL6KmGcbz2uPaiCFcxb071yFwpMlSngaI3bi7JZxYNUeexKt9+ qsUTSWtEmmrtkRBrhttbpUTfnI27/GnI7QNBCXSF5hwHTd2vvoQSnYf+71znMVqoxSla KODykSlxe3rGpZV0jm6ToPclZBGFO2UVGr/FacAyd2Gq83ZJ6eddY1X5M7gda+iXCBoc evLc5dYeob5flOpIPx+l1nTLubcmEUmdAjAegvM7j57DGSAWDZ621SPjpKgvzvkwyJ2K gZC0GSU3Cw4cWJXu10774UvYls40xE82Wh3RCZpqAZjJWrd3p/WsYd4WHg6j1xpCMMj8 eVEQ== 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=juMEMxiIjeBNohHCt36HvN3aW56YYt5AFo7HAodNU5w=; b=By+HldPjVlo/Q4UnAITvo3/ZjMLP60VCU+2JwhK16LelB/zuFIy87UOy0I3q+wZ5d5 GI/+64SKB7GjdX9Y9J8SdbHv9OFKmiaHAdbPls8DtJx6WdBRvpSYdVkDy4SnDTBxHdLU qXuMeZ/xAAwZ9noEVo60cYhudb8xbZ0O31ncIEsHQzksc3wWgu/Qgk5fKnKfATtE1Qag 2aVa9BGHwFMLvZt0k8QDEZ1Kvsg+ie+9NefRTuaXxQu+INA5XF+GmBuUSEOzOxtxPi3b cu00Q8nKkBM2qJ2mwpShsDVGNeTaguZabABKsw2qy+sWAgeRNAsdKFeq5ZIH8/DF30GA ib+A== X-Gm-Message-State: APjAAAUbB073vv8tldGnQUp0s7qEVX1obJFAzxUTzHUUO45IlIWhbv1V wknEfbUdsAsEdfpvnsEI33krkhG74z0= X-Received: by 2002:a62:258:: with SMTP id 85mr26846556pfc.165.1568043366103; Mon, 09 Sep 2019 08:36:06 -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 w11sm18836564pfd.116.2019.09.09.08.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 08:36:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 9 Sep 2019 08:35:57 -0700 Message-Id: <20190909153557.2455195-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] openocd: disable werror when building with gcc 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 gcc 9.x warns more TOPDIR/build/tmp/work/mips32r2-yoe-linux/openocd/0.10+gitrAUTOINC+7ee618692f-r0/recipe-sysroot/usr/include/bits/string_fortified.h:71:10: error: '__builtin_memset' offset [509, 512] from the object at 'buff' is out of the bounds of referenced subobject 'reserved7' with type 'mg_io_uint8[186]' {aka 'unsigned char[186]'} at offset 322 [-Werror=array-bounds] | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/openocd/openocd_git.bb | 2 +- 1 file changed, 1 insertion(+), 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-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb index df10177ae9..ab2fd7f721 100644 --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb @@ -27,7 +27,7 @@ inherit pkgconfig autotools-brokensep gettext BBCLASSEXTEND += "nativesdk" EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html" - +EXTRA_OECONF_append_toolchain-gcc = " --disable-werror " do_configure() { ./bootstrap nosubmodule install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/jimtcl/autosetup