Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3387921ybi; Mon, 10 Jun 2019 09:22:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMBwGc10Eg8OJTrDOa0O2Iij3luMkWA0y67Kgb0czLWOv8QlMQSbbXFcrhpgC3L9c+FE4t X-Received: by 2002:a17:902:205:: with SMTP id 5mr66800605plc.165.1560183778376; Mon, 10 Jun 2019 09:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560183778; cv=none; d=google.com; s=arc-20160816; b=Sx+hYgSxAOdV/zz9i8YSsaWh2NcEEAik6EmKqi/E24Qd6QNQpt/k3XBsLoTvUW1WW4 xF1KbLxTo32noECifryYuXOyuy7yYLQ+VWlNYbTEn/84wJqehcwfi+BYaEqQxduHatq2 xgXYNUxTgGrjqOJrzQisS3KnY8tyxgs22iSn1KGFZQUZXyActXryBBmpzvXms4hta/dk 47pG2dlWAaJqYhpzztQsdIrQAYc+JscR31b3ETb9We234LaY00PE+88EaK+xVQHS2AnB p8MRVdOwF+20Uba+4+B5hfW7QC3GkTa/WESfw4T6Ih6vYGiNagqxwbVX3TQLRmsxRow+ CQCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bEzQuY5bSGdO5t8LLvH9PjVub5AF6OUJO3RHHV9qf0c=; b=Nw8WyZjThi3N0R8r3DmKFTFNKeC0gctTEF7qa/yYwtvMB74Qzpctc05TsmzjOxNMPz ZC0dcDb1fvy2DWyfvbzEFsiSNAfZE2Cqqe0hluqPmT3cyq6wnlIlSnOY0KMVFCppMPkU UGXK6xVveOXXW7aFfHxVRCGRQMVHSFnUyhdmGg+Ap0zo3oxe2O3bEwLEIc7KImS52zX2 Qpx/xCVRSs48M0pHbzuQwmz8zPhoZGpZn/YfkRZWMAygVEZzfvmLc7hEp0K/CO7fFfjb 4x3TkNVX5DkbLGQR9K4LP/gGgtd0dK3F9pZMl1w6ZfpyTdPt4rEZQ8ajAVu4CeYvs27k JueA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="WVetzT/q"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w127si11454854pfw.200.2019.06.10.09.22.42; Mon, 10 Jun 2019 09:22:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="WVetzT/q"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390149AbfFJPZp (ORCPT + 99 others); Mon, 10 Jun 2019 11:25:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:40578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389293AbfFJPZp (ORCPT ); Mon, 10 Jun 2019 11:25:45 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A253206C3; Mon, 10 Jun 2019 15:25:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560180344; bh=ZW4R91QDmRfH9azlM/uSwSTSj7wDQXeKgtSkREaj4cY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WVetzT/qmHeSi5jL/NUgUVF5GujCXMUHqbQc30TGaB/FBxlcH+3FrnLFsox20AmtV 410GCw8chUJfN0QGMLJ/kHPVwCMvNvqQD0eE+CxYbVPkmNwbYu2KfsKaVqeCR8HdJy Ytt3zq0sHN6fhILygA/Rz8FnTJwCZtTEfcPpmXFQ= Date: Mon, 10 Jun 2019 17:25:42 +0200 From: Greg KH To: Arnaldo Carvalho de Melo Cc: Ivan Babrou , Miguel Ojeda , Peter Zijlstra , Josh Poimboeuf , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel , Linux Kbuild mailing list , kernel-team Subject: Re: Linux 4.19 and GCC 9 Message-ID: <20190610152542.GA4132@kroah.com> References: <20190517050931.GB32367@kroah.com> <20190517073813.GB2589@hirez.programming.kicks-ass.net> <20190517085126.GA3249@kroah.com> <20190517152200.GI8945@kernel.org> <4FE2D490-F379-4CAE-9784-9BF81B7FE258@kernel.org> <20190610151407.GS21245@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190610151407.GS21245@kernel.org> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 10, 2019 at 12:14:07PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 10, 2019 at 12:21:51AM -0700, Ivan Babrou escreveu: > > Looks like 4.19.49 received some patches for GCC 9+, but unfortunately > > perf still doesn't want to compile: > > > > [07:15:32]In file included from /usr/include/string.h:635, > > [07:15:32] from util/debug.h:7, > > [07:15:32] from builtin-help.c:15: > > [07:15:32]In function 'strncpy', > > [07:15:32] inlined from 'add_man_viewer' at builtin-help.c:192:2, > > [07:15:32] inlined from 'perf_help_config' at builtin-help.c:284:3: > > [07:15:32]/usr/include/x86_64-linux-gnu/bits/string3.h:126:10: error: > > '__builtin_strncpy' output truncated before terminating nul copying as > > many bytes from a string as its length [-Werror=stringop-truncation] > > [07:15:32] 126 | return __builtin___strncpy_chk (__dest, __src, __len, > > __bos (__dest)); > > [07:15:32] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [07:15:32]builtin-help.c: In function 'perf_help_config': > > [07:15:32]builtin-help.c:187:15: note: length computed here > > [07:15:32] 187 | size_t len = strlen(name); > > [07:15:32] | ^~~~~~~~~~~~ > > [07:15:32]cc1: all warnings being treated as errors > > The patch below should've taken care of that, and it has a Fixes: tag, > i.e. the stable scripts should've noticed that, and it was noticed with > gcc 8.2. No, stable scripts do not always pick up the "Fixes:" tag, they are only guaranteed to pick up the "cc: stable@" tag. Sometimes we catch the fixes ones too, but not always by far. Anyway, I'll queue this patch up after this next round of kernels are released, thanks! greg k-h