Re: [PATCH 4.14] ata: ahci: fix enum constants for gcc-13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 31, 2023 at 06:48:03PM +0100, Greg KH wrote:
> On Tue, Oct 31, 2023 at 05:32:55PM +0000, Paul Barker wrote:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> > 
> > commit f07788079f515ca4a681c5f595bdad19cfbd7b1d upstream.
> > 
> > gcc-13 slightly changes the type of constant expressions that are defined
> > in an enum, which triggers a compile time sanity check in libata:
> 
> Does gcc-13 actually work for these older stable kernels yet?  Last I
> tried there were a bunch of issues.  I'll gladly take these, just
> wondering what the status was and if there are many more to go.

Well, it works for me!

The Yocto Project master branch has binutils 2.41 & gcc 13.2.0. I can
build 4.14.328, 4.19.297 & 5.4.259 with these patches applied on top and
boot them in qemu. For 4.14 & 4.19 I also need a backport of 790756c7e02
("ARM: 8933/1: replace Sun/Solaris style flag on section directive")
which is already in the stable queue. I've done no testing beyond
checking that I can get to a shell.

I've tested x86 (i386_defconfig), x86-64 (x86_64_defconfig), arm
(multi_v7_defconfig) & arm64 (defconfig).

Thanks,
Paul

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux