[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1345345030-22211-44-git-send-email-andi@firstfloor.org>
Date: Sat, 18 Aug 2012 19:56:39 -0700
From: Andi Kleen <andi@...stfloor.org>
To: linux-kernel@...r.kernel.org
Cc: x86@...nel.org, mmarek@...e.cz, linux-kbuild@...r.kernel.org,
JBeulich@...e.com, akpm@...ux-foundation.org,
Andi Kleen <ak@...ux.intel.com>
Subject: [PATCH 43/74] lto, workaround: Disable LTO for sys_ni to work around alias bugs
From: Andi Kleen <ak@...ux.intel.com>
LTO gcc has trouble with the weak alias definitions in sys_ni.
This leads to missing symbols. Just disable LTO for this file.
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
---
kernel/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/Makefile b/kernel/Makefile
index c0cc67a..4b37677 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -22,6 +22,8 @@ CFLAGS_REMOVE_cgroup-debug.o = -pg
CFLAGS_REMOVE_irq_work.o = -pg
endif
+CFLAGS_sys_ni.o = $(DISABLE_LTO)
+
obj-y += sched/
obj-y += power/
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists