https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63304

--- Comment #41 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Indeed, having:

ifeq ($(CONFIG_ARM64_ERRATUM_843419), y)
KBUILD_CFLAGS_MODULE    += -mcmodel=large
KBUILD_CFLAGS_MODULE    += $(call cc-option, -mpc-relative-literal-loads)
endif

in arch/arm64/Makefile does the trick.

Reply via email to