Skip to contentSkip to conversation

patch request for 5.18-stable to fix gcc-12 build (hopefully last)

DISCUSSION Sudip Mukherjee 3 participants 6 messages Jun 21, 2022 – Jun 23, 2022 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi Greg,

The following will be needed for the gcc-12 builds:

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")

With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)

Will request you to add these to 5.18-stable queue please.

--
Regards
Sudip

#1 lore raw
Quoted 9 lines · Sudip Mukherjee

Hi Greg,

The following will be needed for the gcc-12 builds:

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")

Quoted 4 lines

With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)

Will request you to add these to 5.18-stable queue please.

On the top of that, I had to apply this too:
aeb84412037b x86/boot: Wrap literal addresses in absolute_pointer()

thanks for the list,

Signature · 2 lines
js
suse labs
#2 lore raw
Quoted 11 lines · Jiri Slaby
Quoted 9 lines · Sudip Mukherjee

Hi Greg,

The following will be needed for the gcc-12 builds:

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")

Quoted 7 lines
Quoted 4 lines

With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)

Will request you to add these to 5.18-stable queue please.

On the top of that, I had to apply this too:
aeb84412037b x86/boot: Wrap literal addresses in absolute_pointer()

uhhh... I thought -Warray-bounds has been disabled by:
f0be87c42cbd ("gcc-12: disable '-Warray-bounds' universally for now") which is in v5.18.6-rc1 now.

Are you sure you still need that ?

--
Regards
Sudip

#3 lore raw
Quoted 17 lines · Sudip Mukherjee
Quoted 16 lines · Jiri Slaby
Quoted 13 lines · Sudip Mukherjee

Hi Greg,

The following will be needed for the gcc-12 builds:

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")

With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)

Will request you to add these to 5.18-stable queue please.

Quoted 8 lines
Quoted 2 lines

On the top of that, I had to apply this too:
aeb84412037b x86/boot: Wrap literal addresses in absolute_pointer()

uhhh... I thought -Warray-bounds has been disabled by:
f0be87c42cbd ("gcc-12: disable '-Warray-bounds' universally for now") which is in v5.18.6-rc1 now.

Are you sure you still need that ?

Yes -- I'd say realmode doesn't copy KBUILD_CFLAGS.

Signature · 2 lines
js
suse labs
#4 lore raw
In reply to Jiri Slaby
Quoted 10 lines · Jiri Slaby
Quoted 9 lines · Sudip Mukherjee

Hi Greg,

The following will be needed for the gcc-12 builds:

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")

Quoted 7 lines
Quoted 4 lines

With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)

Will request you to add these to 5.18-stable queue please.

On the top of that, I had to apply this too:
aeb84412037b x86/boot: Wrap literal addresses in absolute_pointer()

Now queued up, thanks.

greg k-h

#5 lore raw
In reply to Sudip Mukherjee
Quoted 9 lines · Sudip Mukherjee

Hi Greg,

The following will be needed for the gcc-12 builds:

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")

Quoted 4 lines

With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)

Will request you to add these to 5.18-stable queue please.

All now queued up, thanks.

greg k-h