From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90619 invoked by alias); 2 Jul 2018 16:25:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 90543 invoked by uid 89); 2 Jul 2018 16:25:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,KAM_SHORT autolearn=no version=3.3.2 spammy=8.1, Hx-languages-length:679, H*F:D*br X-HELO: pdx1-sub0-mail-a18.g.dreamhost.com Received: from smtp5.dreamhost.com (HELO pdx1-sub0-mail-a18.g.dreamhost.com) (64.90.62.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Jul 2018 16:25:42 +0000 Received: from pdx1-sub0-mail-a18.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a18.g.dreamhost.com (Postfix) with ESMTP id D2A2881EC9; Mon, 2 Jul 2018 09:25:40 -0700 (PDT) Received: from ascii.art.br (unknown [187.74.75.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tuliom@ascii.art.br) by pdx1-sub0-mail-a18.g.dreamhost.com (Postfix) with ESMTPSA id 3BB8281ECA; Mon, 2 Jul 2018 09:25:40 -0700 (PDT) From: Tulio Magno Quites Machado Filho To: "H.J. Lu" , Nick Clifton , Pedro Alves Cc: Binutils , GDB Cc: Subject: Re: [PATCH 3/3] Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8 In-Reply-To: References: <20180521121557.16535-1-hjl.tools@gmail.com> <20180521121557.16535-3-hjl.tools@gmail.com> User-Agent: Notmuch/0.26.2 (http://notmuchmail.org) Emacs/25.3.1 (x86_64-redhat-linux-gnu) Date: Mon, 02 Jul 2018 16:25:00 -0000 Message-ID: <87sh51txj3.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-07/txt/msg00017.txt.bz2 "H.J. Lu" writes: > GCC 8.1 warns about destination size with -Wstringop-truncation: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85643 > > Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence it. > > bfd/ > > PR binutils/23146 > * bfd-in.h: Include "diagnostics.h". > * bfd-in2.h: Regenerated. bfd.h is an installed header, while diagnostics.h is not, causing build failures on software that include bfd.h, e.g.: In file included from opagent.c:65: bfd.h:44:10: fatal error: diagnostics.h: No such file or directory #include "diagnostics.h" ^~~~~~~~~~~~~~~ -- Tulio Magno