From 7b929a528ef8b78ecdf295d4c0536b4707e358e6 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Mon, 1 Oct 2018 11:34:09 +0300 Subject: [PATCH] Disallow linux versions before 4.8 for ARC Inspired by a similar fix for AArch64 in 481cbaac9b23. The point is in Linux v4.8 we introduced new ABIv4 which is now used in both Linux kernel and up-to-date GNU tools for ARC (based on GCC 6.x+). See [1] for more details. [1] https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility Signed-off-by: Alexey Brodkin --- config/arch/arc.in | 1 + packages/linux/package.desc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/arch/arc.in b/config/arch/arc.in index fc4e64fb..d7c6e043 100644 --- a/config/arch/arc.in +++ b/config/arch/arc.in @@ -10,6 +10,7 @@ ## select ARCH_SUPPORTS_WITH_CPU ## select GCC_REQUIRE_7_or_later ## select BINUTILS_REQUIRE_2_30_or_later +## select LINUX_REQUIRE_4_8_or_later if KERNEL_LINUX ## ## help The Synopsys DesignWare ARC architecture, see more info here: ## help https://www.synopsys.com/designware-ip/processor-solutions/arc-processors.html diff --git a/packages/linux/package.desc b/packages/linux/package.desc index d7fc3f78..184e6dde 100644 --- a/packages/linux/package.desc +++ b/packages/linux/package.desc @@ -1,6 +1,6 @@ repository='git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' mirrors='$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})' relevantpattern='2.*.*|. *.*|.' -milestones='3.2 3.7' +milestones='3.2 3.7 4.8' archive_formats='.tar.xz .tar.gz' signature_format='unpacked/.sign'