Nicolas, Dave,
make omap4_defconfig make menuconfig and turn on THUMB2_KERNEL make ..... CC arch/arm/kernel/smp_twd.o CC arch/arm/kernel/machine_kexec.o AS arch/arm/kernel/relocate_kernel.o arch/arm/kernel/relocate_kernel.S: Assembler messages: arch/arm/kernel/relocate_kernel.S:10: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) arch/arm/kernel/relocate_kernel.S:11: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) arch/arm/kernel/relocate_kernel.S:58: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) arch/arm/kernel/relocate_kernel.S:59: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) make[1]: *** [arch/arm/kernel/relocate_kernel.o] Error 1 make: *** [arch/arm/kernel] Error 2
I thought this was new but it has been around for awhile. My default config was not turning on THUMB2 kernel so I only saw it today.
On Thu, Jun 23, 2011 at 9:12 AM, John Rigby john.rigby@linaro.org wrote:
Nicolas, Dave,
make omap4_defconfig make menuconfig and turn on THUMB2_KERNEL make ..... CC arch/arm/kernel/smp_twd.o CC arch/arm/kernel/machine_kexec.o AS arch/arm/kernel/relocate_kernel.o arch/arm/kernel/relocate_kernel.S: Assembler messages: arch/arm/kernel/relocate_kernel.S:10: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) arch/arm/kernel/relocate_kernel.S:11: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) arch/arm/kernel/relocate_kernel.S:58: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) arch/arm/kernel/relocate_kernel.S:59: Error: invalid offset, value too big (0xFFFFFFFFFFFFFFFC) make[1]: *** [arch/arm/kernel/relocate_kernel.o] Error 1 make: *** [arch/arm/kernel] Error 2
On Thu, Jun 23, 2011 at 01:10:27PM -0400, Nicolas Pitre wrote:
On Thu, 23 Jun 2011, John Rigby wrote:
I thought this was new but it has been around for awhile. My default config was not turning on THUMB2 kernel so I only saw it today.
Old known issue. I wonder why I didn't stumble on it. Should be fixed now.
The patch for this has been in Russell's patch system for a while, but he's not keen on it and hasn't merged it so far:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=6855/1
Cheers ---Dave