https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80028
Bug ID: 80028 Summary: Failure to build allyesconfig arm64 kernel using aarch64-none-linux-gnu Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- Target: aarch64 I'm failing to build an allyesconfig recent kernel (4.10.2 from kernel.org) using a recent trunk. $ export CROSS_COMPILE=<path-to-toolchain>/aarch64-none-linux-gnu- $ make ARCH=arm64 allyesconfig $ make ARCH=arm64 -j<n> all After some time it will fail at linking with: drivers/built-in.o: In function `lkdtm_rodata_do_nothing': fpga-region.c:(.rodata+0x7f8528): relocation truncated to fit: R_AARCH64_CALL26 against symbol `__sanitizer_cov_trace_pc' defined in .text section in kernel/built-in.o The symbol looks like one of the sanitisers. I don't know if this is a kernel or a toolchain bug yet