From cc3ac57d1d254d87117afb2e19b11b55e9ed0468 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Wed, 4 Oct 2017 02:35:11 +0100 Subject: [PATCH] [mips*] Increase RELOCATION_TABLE_SIZE to 0x00110000 for all flavours (fixes FTBFS) The latest build failed on mips for the 4kc-malta flavour (which is the first): RELOCS vmlinux Relocations overflow available space! Please adjust CONFIG_RELOCATION_TABLE_SIZE to at least 0x0010f000 So do the same thing we did for the octeon flavour. --- debian/changelog | 2 ++ debian/config/kernelarch-mips/config | 1 + debian/config/kernelarch-mips/config.octeon | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c39e73860..73b00ef9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ linux (4.14~rc3-1~exp2) UNRELEASED; urgency=medium - power/supply: Enable BATTERY_BQ27XXX and BATTERY_BQ27XXX_HDQ as modules, replacing W1_SLAVE_BQ27000 * net: Disable IRDA, which will soon be deleted upstream + * [mips*] Increase RELOCATION_TABLE_SIZE to 0x00110000 for all flavours + (fixes FTBFS) -- Ben Hutchings Wed, 04 Oct 2017 01:44:24 +0100 diff --git a/debian/config/kernelarch-mips/config b/debian/config/kernelarch-mips/config index 6e19e0a13..f4a2ac7ce 100644 --- a/debian/config/kernelarch-mips/config +++ b/debian/config/kernelarch-mips/config @@ -2,6 +2,7 @@ ## file: arch/mips/Kconfig ## CONFIG_RELOCATABLE=y +CONFIG_RELOCATION_TABLE_SIZE=0x00110000 CONFIG_RANDOMIZE_BASE=y CONFIG_KEXEC=y CONFIG_SECCOMP=y diff --git a/debian/config/kernelarch-mips/config.octeon b/debian/config/kernelarch-mips/config.octeon index 08b41671d..7b05c4ba4 100644 --- a/debian/config/kernelarch-mips/config.octeon +++ b/debian/config/kernelarch-mips/config.octeon @@ -8,7 +8,6 @@ CONFIG_CAVIUM_OCTEON_SOC=y # CONFIG_32BIT is not set CONFIG_64BIT=y ## end choice -CONFIG_RELOCATION_TABLE_SIZE=0x00110000 CONFIG_SMP=y # CONFIG_HOTPLUG_CPU is not set CONFIG_NR_CPUS=64