From d514efc4cce23b5e5a836d964b95dec05f4a5cbb Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Mon, 4 Apr 2016 22:20:30 +0200 Subject: [PATCH] [mipsel/mips/config.loongson-2f] Disable VIDEO_CX23885, VIDEO_IVTV, VIDEO_CX231XX, VIDEO_PVRUSB2 (fixes FTBFS). This workaround the failed compilation of cx25840-core.c: | {standard input}: Assembler messages: | {standard input}:583: Error: branch out of range | {standard input}:636: Error: branch out of range | {standard input}:40094: Error: branch out of range These are caused by the -Wa,-mfix-loongson2f-jump, which replaces the "jalr t9" instruction by the "or t9, t9, 0x80000000; jalr t9" instructions, thus causing an increase in code size. This is probably the best way to workaround the FTBFS, especially given that the loongson-2e/2f flavour are likely going to be removed for stretch. --- debian/changelog | 5 +++++ .../config/kernelarch-mips/config.loongson-2f | 20 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/debian/changelog b/debian/changelog index 599f82888..8197c2b1d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ linux (4.5-1~exp2) UNRELEASED; urgency=medium + [ Ben Hutchings ] * mm: exclude ZONE_DEVICE from GFP_ZONE_TABLE * mm: ZONE_DEVICE depends on SPARSEMEM_VMEMMAP * [amd64] Re-enable ZONE_DMA and sound drivers that depend on it @@ -9,6 +10,10 @@ linux (4.5-1~exp2) UNRELEASED; urgency=medium * Merge linux-tools source package into linux (Closes: #550379, #573483, #816500) + [ Aurelien Jarno ] + * [mipsel/mips/config.loongson-2f] Disable VIDEO_CX23885, VIDEO_IVTV, + VIDEO_CX231XX, VIDEO_PVRUSB2 (fixes FTBFS). + -- Ben Hutchings Fri, 25 Mar 2016 13:43:57 +0000 linux-tools (4.5-1~exp1) experimental; urgency=medium diff --git a/debian/config/kernelarch-mips/config.loongson-2f b/debian/config/kernelarch-mips/config.loongson-2f index 2f447091a..825cb8925 100644 --- a/debian/config/kernelarch-mips/config.loongson-2f +++ b/debian/config/kernelarch-mips/config.loongson-2f @@ -43,6 +43,26 @@ CONFIG_LOONGSON2_CPUFREQ=m ## CONFIG_INPUT_TOUCHSCREEN=y +## +## file: drivers/media/pci/cx23885/Kconfig +## +# CONFIG_VIDEO_CX23885 is not set + +## +## file: drivers/media/pci/ivtv/Kconfig +## +# CONFIG_VIDEO_IVTV is not set + +## +## file: drivers/media/usb/cx231xx/Kconfig +## +# CONFIG_VIDEO_CX231XX is not set + +## +## file: drivers/media/usb/pvrusb2/Kconfig +## +# CONFIG_VIDEO_PVRUSB2 is not set + ## ## file: drivers/net/ethernet/amd/Kconfig ##