]> code.ossystems Code Review - meta-freescale.git/commitdiff
perf: Disable FPU tune for i.MX5 SoCs to workaround GCC ICE
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 2 Jul 2013 14:52:51 +0000 (11:52 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 2 Jul 2013 17:49:18 +0000 (14:49 -0300)
GCC 4.8 currently ICE when building perf for i.MX5 SoCs and we can
workaround it disabling the FPU tunning for it. This is a temporary
solution until GCC fixes this in an upcoming release.

GCC bugzilla: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748

Change-Id: I5a23e6b57695a90e9750f0fa28c419b260c83be2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-kernel/perf/perf.bbappend [new file with mode: 0644]

diff --git a/meta-fsl-arm/recipes-kernel/perf/perf.bbappend b/meta-fsl-arm/recipes-kernel/perf/perf.bbappend
new file mode 100644 (file)
index 0000000..604e2b4
--- /dev/null
@@ -0,0 +1,3 @@
+# FIXME: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748
+TUNE_CCARGS_mx5 := "${@oe_filter_out('-mfpu=neon', '${TUNE_CCARGS}', d)}"
+