Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 6328/1: Build with -fno-dwarf2-cfi-asm

Commit d0679c7 restricted this workaround to powerpc only, but it turns
out that ARM needs it as well. Fixes
https://bugzilla.kernel.org/show_bug.cgi?id=16310 .

Reported-and-Tested-by: Robert Nelson <robertcnelson@gmail.com>
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Michal Marek and committed by
Russell King
bd365591 2f174847

+3
+3
arch/arm/Makefile
··· 21 21 # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: 22 22 KBUILD_CFLAGS +=$(call cc-option,-marm,) 23 23 24 + # Never generate .eh_frame 25 + KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) 26 + 24 27 # Do not use arch/arm/defconfig - it's always outdated. 25 28 # Select a platform tht is kept up-to-date 26 29 KBUILD_DEFCONFIG := versatile_defconfig