Skip to contentSkip to conversation

configs/roseapplepi_defconfig: use gcc 7.x

PATCH New Peter Korsgaard 1 participant 2 messages Aug 28, 2019 – Aug 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/roseapplepi_defconfig: use gcc 7.x

The old 3.10.x based vendor kernel does not build correctly with gcc 8.x.

While there is basic s500 support in the mainline kernel, there is not yet a mmc driver so it isn't quite a replacement yet.

Stick to the vender kernel for now and revert back to gcc 7.x, hopefully mainline support will be more complete once gcc 7.x gets dropped.

---
 configs/roseapplepi_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/roseapplepi_defconfig +2 -0
index 327176254a..966d444a45 100644
@@ -6,6 +6,8 @@ BR2_ARM_ENABLE_VFP=y
 BR2_GLOBAL_PATCH_DIR="board/roseapplepi/patches"
 # Linux headers same as kernel, a 3.10 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
+# kernel does not build with gcc 8.x
+BR2_GCC_VERSION_7_X=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/roseapplepi/post-image.sh"
 
 BR2_LINUX_KERNEL=y
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 configs/roseapplepi_defconfig: use gcc 7.x

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

The old 3.10.x based vendor kernel does not build correctly with gcc 8.x. While there is basic s500 support in the mainline kernel, there is not yet a mmc driver so it isn't quite a replacement yet.

Stick to the vender kernel for now and revert back to gcc 7.x, hopefully mainline support will be more complete once gcc 7.x gets dropped.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard