Skip to contentSkip to conversation

gcc 9.0 support in v4.4.y

DISCUSSION Applied Guenter Roeck 3 participants 3 messages Aug 19, 2019 – Aug 20, 2019 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi,

please consider applying the following two patches from v4.9.y to v4.4.y.

fe5844365ec6 ("Backport minimal compiler_attributes.h to support GCC 9") 2c34c215c102 ("include/linux/module.h: copy __init/__exit attrs to init/cleanup_module")

	(upstream commit a6e60d84989f)

... to enable compiling v4.4.y with gcc 9.x.

This already works for the most part, but alpha:allmodconfig and arm:allmodconfig fail to compile. The above two patches fix the problem.

Thanks,
Guenter

maintainer Applied
#1 lore raw
Quoted 4 lines · Guenter Roeck

Hi,

please consider applying the following two patches from v4.9.y to v4.4.y.

Quoted 8 lines

fe5844365ec6 ("Backport minimal compiler_attributes.h to support GCC 9") 2c34c215c102 ("include/linux/module.h: copy __init/__exit attrs to init/cleanup_module")

	(upstream commit a6e60d84989f)

... to enable compiling v4.4.y with gcc 9.x.

This already works for the most part, but alpha:allmodconfig and arm:allmodconfig fail to compile. The above two patches fix the problem.

Queued up, thanks!

--
Thanks,
Sasha

#2 lore raw
Quoted 9 lines · Sasha Levin
Quoted 8 lines · Guenter Roeck

Hi,

please consider applying the following two patches from v4.9.y to v4.4.y.

fe5844365ec6 ("Backport minimal compiler_attributes.h to support GCC 9") 2c34c215c102 ("include/linux/module.h: copy __init/__exit attrs to init/cleanup_module")

	(upstream commit a6e60d84989f)
Quoted 6 lines
Quoted 4 lines

... to enable compiling v4.4.y with gcc 9.x.

This already works for the most part, but alpha:allmodconfig and arm:allmodconfig fail to compile. The above two patches fix the problem.

Queued up, thanks!

THanks for this, my build results are _much_ nice looking now :)

greg k-h