From: Andi Kleen <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
---
scripts/Makefile.lto | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/scripts/Makefile.lto b/scripts/Makefile.lto
index a99ca85..11aed1c 100644
--- a/scripts/Makefile.lto
+++ b/scripts/Makefile.lto
@@ -24,11 +24,12 @@ ifeq ($(call ld-ifversion,-ge,22710001,y),y)
# gcc 5.0 supports __attribute__((no_reorder)), so we don't
# need to disable reordering globally, but can only use
# it on init calls.
-ifeq ($(call cc-ifversion,-ge,0500,y),y)
- DISABLE_TL_REORDER :=
-else
+# Disabled for now because of some undebugged bug in 5.x
+#ifeq ($(call cc-ifversion,-ge,0500,y),y)
+# DISABLE_TL_REORDER :=
+#else
DISABLE_TL_REORDER := -fno-toplevel-reorder
-endif
+#endif
LTO_CFLAGS := -flto $(DISABLE_TL_REORDER)
LTO_FINAL_CFLAGS := -fuse-linker-plugin
--
2.6.6
--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto