patch request for 5.18-stable to fix gcc-12 build
Hi Greg,
v5.18.y riscv builds fails with gcc-12. Can I please request to add the following to the queue:
f0be87c42cbd ("gcc-12: disable '-Warray-bounds' universally for now") 49beadbd47c2 ("gcc-12: disable '-Wdangling-pointer' warning for now") 7e415282b41b ("virtio-pci: Remove wrong address verification in vp_del_vqs()")
This is only for the config that fdsdk is using, I will start a full allmodconfig to check if anything else is needed.
--
Regards
Sudip
Greg Kroah-Hartman
maintainerQuoted 11 lines · Sudip Mukherjee
Hi Greg,
v5.18.y riscv builds fails with gcc-12. Can I please request to add the following to the queue:
f0be87c42cbd("gcc-12: disable '-Warray-bounds' universally for now")49beadbd47c2("gcc-12: disable '-Wdangling-pointer' warning for now")7e415282b41b("virtio-pci: Remove wrong address verification invp_del_vqs()")This is only for the config that fdsdk is using, I will start a full allmodconfig to check if anything else is needed.
Now queued up, thanks.
I don't think 5.18 will build with gcc-12 for x86-64 yet either, I'm sticking with gcc-11 for my builds at the moment...
thanks,
greg k-h
Quoted 11 lines · Greg Kroah-Hartman
Quoted 9 lines · Sudip Mukherjee
Hi Greg,
v5.18.y riscv builds fails with gcc-12. Can I please request to add the following to the queue:
f0be87c42cbd("gcc-12: disable '-Warray-bounds' universally for now")49beadbd47c2("gcc-12: disable '-Wdangling-pointer' warning for now")7e415282b41b("virtio-pci: Remove wrong address verification invp_del_vqs()")
Quoted 7 lines
Quoted 2 lines
This is only for the config that fdsdk is using, I will start a full allmodconfig to check if anything else is needed.
Now queued up, thanks.
I don't think 5.18 will build with gcc-12 for x86-64 yet either, I'm sticking with gcc-11 for my builds at the moment...
Yeah, it still fails. But just few more errors. I am hoping I will send you another list tomorrow for it.
Signature · 2 lines
Regards Sudip
Quoted 10 lines · Greg Kroah-Hartman
Quoted 9 lines · Sudip Mukherjee
Hi Greg,
v5.18.y riscv builds fails with gcc-12. Can I please request to add the following to the queue:
f0be87c42cbd("gcc-12: disable '-Warray-bounds' universally for now")49beadbd47c2("gcc-12: disable '-Wdangling-pointer' warning for now")7e415282b41b("virtio-pci: Remove wrong address verification invp_del_vqs()")
Quoted 7 lines
Quoted 2 lines
This is only for the config that fdsdk is using, I will start a full allmodconfig to check if anything else is needed.
Now queued up, thanks.
I don't think 5.18 will build with gcc-12 for x86-64 yet either, I'm sticking with gcc-11 for my builds at the moment...
FWIW Tumbleweed compiles using gcc 12 since around 5.17.5. (Obviously, with CONFIG_WERROR unset.)
regards,
Signature · 2 lines
js suse labs
Greg Kroah-Hartman
maintainerQuoted 14 lines · Jiri Slaby
Quoted 13 lines · Greg Kroah-Hartman
Quoted 11 lines · Sudip Mukherjee
Hi Greg,
v5.18.y riscv builds fails with gcc-12. Can I please request to add the following to the queue:
f0be87c42cbd("gcc-12: disable '-Warray-bounds' universally for now")49beadbd47c2("gcc-12: disable '-Wdangling-pointer' warning for now")7e415282b41b("virtio-pci: Remove wrong address verification invp_del_vqs()")This is only for the config that fdsdk is using, I will start a full allmodconfig to check if anything else is needed.
Quoted 7 lines
Quoted 4 lines
Now queued up, thanks.
I don't think 5.18 will build with gcc-12 for x86-64 yet either, I'm sticking with gcc-11 for my builds at the moment...
FWIW Tumbleweed compiles using gcc 12 since around 5.17.5. (Obviously, with
CONFIG_WERRORunset.)
Yeah, I want to be able to set that value again, it helps out a lot with testing stable patches to ensure that nothing got accidentally backported improperly.
thanks,
greg k-h
Quoted 21 lines · Greg Kroah-Hartman
Quoted 19 lines · Jiri Slaby
Quoted 17 lines · Greg Kroah-Hartman
Quoted 11 lines · Sudip Mukherjee
Hi Greg,
v5.18.y riscv builds fails with gcc-12. Can I please request to add the following to the queue:
f0be87c42cbd("gcc-12: disable '-Warray-bounds' universally for now")49beadbd47c2("gcc-12: disable '-Wdangling-pointer' warning for now")7e415282b41b("virtio-pci: Remove wrong address verification invp_del_vqs()")This is only for the config that fdsdk is using, I will start a full allmodconfig to check if anything else is needed.
Now queued up, thanks.
I don't think 5.18 will build with gcc-12 for x86-64 yet either, I'm sticking with gcc-11 for my builds at the moment...
Quoted 6 lines
Quoted 2 lines
FWIW Tumbleweed compiles using gcc 12 since around 5.17.5. (Obviously, with
CONFIG_WERRORunset.)Yeah, I want to be able to set that value again, it helps out a lot with testing stable patches to ensure that nothing got accidentally backported improperly.
Sent another mail with the request, but just for information in this thread, the following seems to be the last for x86-64 allmodconfig (v5.18.y) to build.
ee3db469dd31 ("wifi: rtlwifi: remove always-true condition pointed out by GCC 12")32329216ca1d ("eth: sun: cassini: remove dead code") dbbc7d04c549 ("net: wwan: iosm: remove pointless null check")
Signature · 2 lines
Regards Sudip