From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f50.google.com ([209.85.214.50]:36829 "EHLO mail-it0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965247AbeE3JwQ (ORCPT ); Wed, 30 May 2018 05:52:16 -0400 Received: by mail-it0-f50.google.com with SMTP id e20-v6so22645633itc.1 for ; Wed, 30 May 2018 02:52:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180530094445.GA25193@kroah.com> References: <4c1fa1a9-b242-10e5-ce1d-89f04eb50fa7@roeck-us.net> <20180530094445.GA25193@kroah.com> From: Arnd Bergmann Date: Wed, 30 May 2018 11:52:14 +0200 Message-ID: Subject: Re: Patches for -stable to improve support for recent gcc versions To: Greg Kroah-Hartman Cc: Guenter Roeck , stable Content-Type: text/plain; charset="UTF-8" Sender: stable-owner@vger.kernel.org List-ID: On Wed, May 30, 2018 at 11:44 AM, Greg Kroah-Hartman wrote: > On Wed, May 30, 2018 at 11:27:50AM +0200, Arnd Bergmann wrote: >> On Mon, May 28, 2018 at 3:48 PM, Guenter Roeck wrote: >> > Hi Greg, >> > >> > please apply the following patches. >> > >> > to v4.4-stable and older: >> > >> > cb36af3e48be sh: New gcc support >> > to support gcc 8.1.0 for sh >> > >> > to v4.9-stable and older: >> > >> > 009615ab7fd4 USB: serial: cp210x: use tcflag_t to fix incompatible pointer >> > type >> > to support gcc 7.3.0 for sparc >> > >> > Copying Arnd - I can't get sparc images to compile with gcc 8.1.0. Any idea >> >> No, sorry. I've just tried it again and couldn't find any problems with my >> gcc-8.1 binaries building either sparc32_defconfig or sparc64_defconfig. > > So you mean it works, or does not work? > > And you are seeing loads of build warnings, right? I tried your 8.1 > binary for s390 and had to just give up looking at the warnings :( It does work, but yes, there are many warnings. I still need to revisit my patch for the system call entry points: I posted one a long time ago, but then the mainline implementation changed and I never got around to sending an updated version. Similarly, I planned to send a patch that disables all the -Wstringop-truncated warnings unless 'make W=1' is used, but that ended up in my long backlog of minor fixes after my initial plan to fix address those warnings didn't work out. Arnd