Skip to contentSkip to conversation

tcmode-default: disable ARMv7 Optimization for qt4-x11-free

PATCH(fixed bugid) Saul Wold 2 participants 2 messages Jun 1, 2011

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

[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

---
 meta/conf/distro/include/tcmode-default.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/distro/include/tcmode-default.inc +0 -0
index 6eb34ef..6393ffd 100644
@@ -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}"

Signature · 15 lines
1.7.4.1


-- 
    Sau!

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


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 10 lines · Saul Wold

[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

same

Quoted 13 lines
---
 meta/conf/distro/include/tcmode-default.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/distro/include/tcmode-default.inc +0 -0
index 6eb34ef..6393ffd 100644
@@ -29,6 +29,7 @@ PREFERRED_VERSION_u-boot-mkimage-native_powerpc ?=

"2009.08"
# Temporary workaround for gcc 4.6.0 ICE with beagleboard

Quoted 8 lines
 # 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}"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3l1NkACgkQuwUzVZGdMxSjpACfQvM/qIFqLl2qRxyIK4OPnYQc mRYAn17JIHnJE6Y8O07I4ftjLaY9W+kv
=qzqA
-----END PGP SIGNATURE-----