Message ID | 20171127213423.27218-18-andi@firstfloor.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kernel/bpf/Makefile b/kernel/bpf/Makefile index e691da0b3bab..409d4b6762ee 100644 --- a/kernel/bpf/Makefile +++ b/kernel/bpf/Makefile @@ -16,3 +16,8 @@ ifeq ($(CONFIG_PERF_EVENTS),y) obj-$(CONFIG_BPF_SYSCALL) += stackmap.o endif obj-$(CONFIG_CGROUP_BPF) += cgroup.o + +# various version of gcc have a LTO bug where the &&labels used in the +# BPF interpreter can cause linker errors when spread incorrectly over +# partitions. Disable LTO for BPF for now +CFLAGS_core.o = $(DISABLE_LTO)