[Buildroot] [PATCH 4/6] configs/olimex_a20_olinuxino_lime_legacy: use gcc 6.x and not the default version

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Nov 22 09:41:47 UTC 2018

The old 3.4 Linux kernel used by this defconfig doesn't build with gcc 7.x:

include/linux/compiler-gcc.h:106:1: fatal error: linux/compiler-gcc7.h: No such file or directory

So let's use gcc 6.x for the time being.

Long term, we should use a newer or different kernel source for this
defconfig, or get rid of the defconfig entirely if there's no updated
kernel with a fix.



Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
 configs/olimex_a20_olinuxino_lime_legacy_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/olimex_a20_olinuxino_lime_legacy_defconfig b/configs/olimex_a20_olinuxino_lime_legacy_defconfig
index c14c2ca995..2c33f05e56 100644
--- a/configs/olimex_a20_olinuxino_lime_legacy_defconfig
+++ b/configs/olimex_a20_olinuxino_lime_legacy_defconfig
@@ -3,6 +3,9 @@ BR2_arm=y
+# The old 3.4 kernel doesn't build with gcc >= 7.x
 # Linux headers same as kernel, a 3.4 series

More information about the buildroot mailing list