Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: "open >> 'Patches and discussions about the oe-core layer'"
	<openembedded-core@lists.openembedded.org>
Subject: [PATCH] tcmode-default: disable ARMv7 Optimization for qt4-x11-free
Date: Tue, 31 May 2011 22:26:59 -0700	[thread overview]
Message-ID: <4DE5CDA3.1020000@linux.intel.com> (raw)

[YOCTO #1030]

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




             reply	other threads:[~2011-06-01  5:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01  5:26 Saul Wold [this message]
2011-06-01  5:57 ` [PATCH] tcmode-default: disable ARMv7 Optimization for qt4-x11-free Khem Raj
2011-06-01  6:10   ` Martin Jansa
2011-06-01  6:14     ` Khem Raj
2011-06-01  6:21     ` Khem Raj
2011-06-01 10:46       ` Phil Blundell
2011-06-01 17:50         ` Saul Wold
2011-06-01 18:31           ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DE5CDA3.1020000@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox