https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81863
--- Comment #10 from Arnd Bergmann <arnd at linaro dot org> --- (In reply to Yvan Roux from comment #8) > > /* Nonzero if this chip provides the MOVW and MOVT instructions. */ > -#define TARGET_HAVE_MOVT (arm_arch_thumb2 || arm_arch8) > +#define TARGET_HAVE_MOVT ((arm_arch_thumb2 || arm_arch8) \ > + && !target_word_relocations) Confirmed, this addresses the link error for all kernel configurations for me on gcc-7-branch (eight failing random configurations out of ~1000, failing in five different source files without this patch).