Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3370776ybd; Tue, 25 Jun 2019 01:09:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqympB1L1GjSmtF4EtXVItmcXb43gA2By6I/1GERflAxIiJ0fAB4a7EtKmgf1BjzZonV9G5l X-Received: by 2002:a17:90b:f0e:: with SMTP id br14mr30152093pjb.117.1561450190910; Tue, 25 Jun 2019 01:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561450190; cv=none; d=google.com; s=arc-20160816; b=tXExAxre73sDccc6Hb0pAI7RCrUAvNbLt/gLHOLM92nqEbvSQHwlf8/EAs3Ec0gl23 LA37PR/A8vE3JnzCsWbofNhUNjPJA9+4M8p5zpbZlCsYplnbly+4iZyOHIPLrX4ioKPQ lx7tjw8RGC5Q4TYL6+QiT+oX3XdOpj0fEy9Wo5PRejuZ1KLS2mtEhUzTrxf7m0V3NvXe EuUKHboK90Uikx43LKpNRBayYyG+OrZMcJvr5Lrj293akG7NpiUz6FlrOOr8Q4wyifZF xgNv50jCmZhEJptlj7fA+JBrfi4Ho8V5kmKKT43Pe7bspzekdXV0r1XlD6WS/SjOFnKe 3EBQ== 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=EIYYSv7EYlmpwAv/x68FEXkzxZ9Sr7wBSdAbPsHwH/A=; b=fFysitrBRBVQ6BcsUaRvT7MyVilheHXcXNyPiKN4KVzvo/cIVXtOIy+1VN827fs7Qe 5Tz92qCOEupSAFr6orSI7P9ahAL4ZgdwxJFrjWROXHxBzuruoJRYYPjsLQvXl+NwDdl2 wqHAHf/vO/pToANtPIpTdEMB8VlvaPkmQpZ8p97EFxv//Fk6zb9e+599LMV2u2j3XXE/ Yc10FFd0ukvqy8lfawpxAzt0w5v2AvZ6F7jfiH2ht2+4DiDyCq7neS5CPQGGMSLQtHk0 aQL5XOcb2PjrKbAohOu0WWvLEYaJ6aV4/8wtk27GcqFQ4XI4X9zw3t2U63AjYFIhIT63 g7Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JDOmCIxG; 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 m6si2266421pjl.60.2019.06.25.01.09.34; Tue, 25 Jun 2019 01:09:50 -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=JDOmCIxG; 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 S1728814AbfFYIIi (ORCPT + 99 others); Tue, 25 Jun 2019 04:08:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:48044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbfFYIIh (ORCPT ); Tue, 25 Jun 2019 04:08:37 -0400 Received: from localhost (f4.8f.5177.ip4.static.sl-reverse.com [119.81.143.244]) (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 2472720883; Tue, 25 Jun 2019 08:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561450116; bh=oB8iqr1i19hzHNCzE1bZqAZ7bPwZH73g0FCvB0iVx/I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JDOmCIxG0tXtzBe9WXSL+LgB3zwqi/iKj1oDSoZVEJe49hroTZIcWl/x51tIuo+aR DJjDNWuC4PHacSRXt5opN5n7qNMPyGAThDdC2f1+2bY8oypObGfNYYisohJiUaabCS qlfORgMCmllngGGTMBGAcZw6mdo9ibs6qGeTrHDE= Date: Tue, 25 Jun 2019 16:08:30 +0800 From: Greg KH To: Ignat Korchagin Cc: Arnaldo Carvalho de Melo , 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: <20190625080830.GA19729@kroah.com> References: <20190517152200.GI8945@kernel.org> <4FE2D490-F379-4CAE-9784-9BF81B7FE258@kernel.org> <20190610151407.GS21245@kernel.org> <20190610152542.GA4132@kroah.com> <20190610191417.GW21245@kernel.org> <20190625075029.GC19452@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190625075029.GC19452@kroah.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 25, 2019 at 03:50:29PM +0800, Greg KH wrote: > On Mon, Jun 24, 2019 at 11:42:34AM +0100, Ignat Korchagin wrote: > > Hi Greg, > > > > > > For us it seems applying the following 4 mainline patches makes 4.19.x > > > > branch perf compile with GCC-9: > > > > > > > > 4d0f16d059ddb91424480d88473f7392f24aebdc: perf ui helpline: Use > > > > strlcpy() as a shorter form of strncpy() + explicit set nul > > > > b6313899f4ed2e76b8375cf8069556f5b94fbff0: perf help: Remove needless > > > > use of strncpy() > > > > 5192bde7d98c99f2cd80225649e3c2e7493722f7: perf header: Fix unchecked > > > > usage of strncpy() > > > > 97acec7df172cd1e450f81f5e293c0aa145a2797: perf data: Fix 'strncat may > > > > truncate' build failure with recent gcc > > > > > > > > I also checked that 4.19.49 compiles fine with GCC 9, although with a > > > > lot of warnings, mostly from objtool, like "warning: objtool: > > > > sock_register()+0xd: sibling call from callable instruction with > > > > modified stack frame". But it's a start. > > > > > > > > Can we apply the above-mentioned patches, please? > > > > > I'll look into these after the next round of kernels are released. I > > > > Did you by any chance forget to queue these patches? :) (the build is > > still broken for GCC 9.1) > > I am on the road and getting to backports for this stuff is on the > bottom of my list until next week at the earliest, sorry. Oh nevermind, I just queued them up now. If there are any other gcc9 patches that you see that I've missed, please let me know. Now, to try to track down the fix for all of those build warnings, those need to get fixed up... thanks, greg k-h