summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-05-26 16:26:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-27 00:56:54 +0100
commitc98657d8cfa17d5b94695f71cc336c697ca93302 (patch)
treef72aca05f9305db277d282b6823f97cb5409b8d2 /meta/conf/distro
parent36386f3b8cadf283954f5c6db6ac6ee463c395de (diff)
downloadopenembedded-core-c98657d8cfa17d5b94695f71cc336c697ca93302.tar.gz
openembedded-core-c98657d8cfa17d5b94695f71cc336c697ca93302.tar.bz2
openembedded-core-c98657d8cfa17d5b94695f71cc336c697ca93302.zip
tcmode-default: workaround for gcc 4.6.0 failure on beagleboard
mesa-xlib: workaround gcc 4.6.0 ICE Fixes this bug [YOCTO #1105] Working around this issue withg gcc 4.6.0 for beagleboard machine (armv7) ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/build_disk/poky_build/build0/tmp/sysroots/beagleboard -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/drivers/svga/include -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM -std=gnu99 -fvisibility=hidden -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H svga_tgsi_insn.c -o svga_tgsi_insn.o svga_tgsi_insn.c: In function 'svga_shader_emit_instructions': svga_tgsi_insn.c:2969:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12084 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [svga_tgsi_insn.o] Error 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index d27923122e..6eb34ef810 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -26,6 +26,10 @@ LINUXLIBCVERSION ?= "2.6.37.2"
# Temporary preferred version overrides for PPC
PREFERRED_VERSION_u-boot-mkimage-native_powerpc ?= "2009.08"
+# Temporary workaround for gcc 4.6.0 ICE with beagleboard
+# gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47719
+TARGET_CC_ARCH_arm_pn-mesa-xlib := "${@'${TARGET_CC_ARCH}'.replace('armv7-a','armv5')}"
+
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"