diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-07-16 10:14:29 +0000 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-07-17 10:20:08 +0800 |
commit | 93c57323edc118eb8905980348ad3888664f2382 (patch) | |
tree | 739ca3e2a7d263185adb79754f59d16c677ff3c0 /conf | |
parent | 417ec03961696ea1bd4bb8f160df23418c910cd5 (diff) | |
download | meta-fsl-ppc-93c57323edc118eb8905980348ad3888664f2382.tar.gz |
e500v2: workaround for ICE of gcc-4.8.x
[Issue]
ICE appears when passing -mfloat-gprs=double for e500v2 target build with
gcc-4.8.1, the bug url is: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717#c1
[Workaround]
Replace double-float with single-float for e500v2 build until the ICE is fixed
[TODO]
Revert the commit when the ICE bug is fixed.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/e500v2.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/machine/e500v2.inc b/conf/machine/e500v2.inc index 9688784..aabca6e 100644 --- a/conf/machine/e500v2.inc +++ b/conf/machine/e500v2.inc | |||
@@ -3,6 +3,12 @@ require conf/machine/include/tune-ppce500v2.inc | |||
3 | MACHINE_FEATURES = "kernel26 pci ext2 ext3 serial" | 3 | MACHINE_FEATURES = "kernel26 pci ext2 ext3 serial" |
4 | MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" | 4 | MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" |
5 | 5 | ||
6 | # FIXME | ||
7 | # Workaround for ICE of gcc-4.8.x when passing -mfloat-gprs=double | ||
8 | # Bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717#c1 | ||
9 | # Replace double-float with single-float, revert the commit when above bug is fixed | ||
10 | TUNE_CCARGS := "${@d.getVar('TUNE_CCARGS', True).replace('-mfloat-gprs=double', '-mfloat-gprs=single')}" | ||
11 | |||
6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" | 12 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" |
7 | PREFERRED_VERSION_virtual/kernel ?= "3.0.34" | 13 | PREFERRED_VERSION_virtual/kernel ?= "3.0.34" |
8 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers" | 14 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers" |