All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Arnd Bergmann <arnd@arndb.de>
Cc: stable <stable@vger.kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: Patches for -stable to improve support for recent gcc versions
Date: Wed, 30 May 2018 06:31:15 -0700	[thread overview]
Message-ID: <314932ef-7047-22e7-7b9b-ad8d52dfee0f@roeck-us.net> (raw)
In-Reply-To: <CAK8P3a2r5GXn758mHqcGFfmayb4fXDpyXAbh6x3qaPXYkQOZDw@mail.gmail.com>

On 05/30/2018 02:27 AM, Arnd Bergmann wrote:
> On Mon, May 28, 2018 at 3:48 PM, Guenter Roeck <linux@roeck-us.net> 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.
> 

Interesting. With sparc64-linux-gcc (GCC) 8.1.0 from kernel.org:

make ARCH=sparc64 CROSS_COMPILE=sparc64-linux- allmodconfig
make ARCH=sparc64 CROSS_COMPILE=sparc64-linux- arch/sparc/kernel/sys_sparc_64.o

results in:

./include/linux/syscalls.h:233:18: error:
	'sys_sparc64_personality' alias between functions of incompatible types
	'long int(long unsigned int)' and 'long int(long int)' [-Werror=attribute-alias]

and many more.

Presumably this is due to

arch/sparc/kernel/Makefile:ccflags-y := -Werror

Guenter

  parent reply	other threads:[~2018-05-30 13:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-28 13:48 Patches for -stable to improve support for recent gcc versions Guenter Roeck
2018-05-30  8:38 ` Greg Kroah-Hartman
2018-05-30 13:18   ` Guenter Roeck
2018-05-30 13:46     ` Greg Kroah-Hartman
2018-05-30  9:27 ` Arnd Bergmann
2018-05-30  9:44   ` Greg Kroah-Hartman
2018-05-30  9:52     ` Arnd Bergmann
2018-05-30 10:00       ` Greg Kroah-Hartman
2018-05-30 13:31   ` Guenter Roeck [this message]
2018-05-30 13:55     ` Arnd Bergmann
2018-05-30 18:46       ` Guenter Roeck
2018-05-30 19:24         ` Greg Kroah-Hartman
2018-05-30 19:34           ` Arnd Bergmann
2018-05-30 20:04             ` Greg Kroah-Hartman
2018-05-30 20:37               ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=314932ef-7047-22e7-7b9b-ad8d52dfee0f@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.