Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH(fixed bugid)] tcmode-default: disable ARMv7 Optimization for qt4-x11-free
@ 2011-06-01  5:28 Saul Wold
  2011-06-01  5:57 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2011-06-01  5:28 UTC (permalink / raw)
  To: open >> 'Patches and discussions about the oe-core layer'

[YOCTO #1130]

This diables the ARMv7 optimizations that cause the compiler to fail 
with the following error

| ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h: In function 
'void qt_removeObject(QObject*)':
| ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:361:35: 
error: output number 1 not directly addressable

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
  meta/conf/distro/include/tcmode-default.inc |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index 6eb34ef..6393ffd 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -29,6 +29,7 @@ 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')}"
+TARGET_CC_ARCH_arm_pn-qt4-x11-free := 
"${@'${TARGET_CC_ARCH}'.replace('armv7-a','armv5')}"

  PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
  PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
-- 
1.7.4.1


-- 
     Sau!

Saul Wold
Yocto Component Wrangler @ Intel
Yocto Project / Poky Build System


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-01  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-01  5:28 [PATCH(fixed bugid)] tcmode-default: disable ARMv7 Optimization for qt4-x11-free Saul Wold
2011-06-01  5:57 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox