Hi Guenter,
On Thu, Aug 4, 2016 at 9:30 AM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
Hi Max,
I see the following build errors when building xtensa images in
next-20160804.
Error log:
arch/xtensa/kernel/built-in.o: In function `fast_alloca':
(.text+0x99a): dangerous relocation: j: cannot encode: _WindowUnderflow12
arch/xtensa/kernel/built-in.o: In function `fast_alloca':
(.text+0x99d): dangerous relocation: j: cannot encode: _WindowUnderflow8
arch/xtensa/kernel/built-in.o: In function `fast_alloca':
(.text+0x9a0): dangerous relocation: j: cannot encode: _WindowUnderflow4
arch/xtensa/kernel/built-in.o: In function
`window_overflow_restore_a0_fixup':
(.text+0x23a3): dangerous relocation: j: cannot encode:
(.DoubleExceptionVector.text+0x104)
arch/xtensa/kernel/built-in.o: In function
`window_overflow_restore_a0_fixup':
(.text+0x23c1): dangerous relocation: j: cannot encode:
(.DoubleExceptionVector.text+0x104)
arch/xtensa/kernel/built-in.o: In function
`window_overflow_restore_a0_fixup':
(.text+0x23dd): dangerous relocation: j: cannot encode:
(.DoubleExceptionVector.text+0x104)
This affects all images I am testing.
Bisect points to 'xtensa: cleanup MMU setup and kernel layout macros'.
Thanks for the report. The default kernel load address in this patch
was wrong. Fix posted.