| Submitter | Saul Wold |
|---|---|
| Date | June 1, 2011, 5:28 a.m. |
| Message ID | <4DE5CDED.3050405@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/5137/ |
| State | New, archived |
| Headers | show |
Comments
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/31/2011 10:28 PM, Saul Wold wrote: > [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 > 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}" -----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-----
Patch
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')}"
[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(-) PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"