* [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" @ 2014-02-17 21:27 Nicolas Dechesne 2014-02-17 21:46 ` Denys Dmytriyenko 2014-02-17 22:44 ` [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" Khem Raj 0 siblings, 2 replies; 7+ messages in thread From: Nicolas Dechesne @ 2014-02-17 21:27 UTC (permalink / raw) To: openembedded-devel, Andre McCurdy hi, does anybody know why in Qt5/qtbase.inc, we have: ARM_INSTRUCTION_SET = "arm" Could it be an a low hanging fruit from the past? e.g. before https://bugreports.qt-project.org/browse/QTBUG-16402 or https://qt.gitorious.org/qt/qtbase/commit/a3bd9d4c0f3d9e80dbe35bd88649b245dca5f410? as a matter of fact, for our project Qt5 (and QtWebkit) are building (and working fine) when built with Thumb2, outside of OE. Also using ARM instruction set instead of Thumb2 enforces Webkit to use the ARM version of the javascript JIT, while the Thumb2 JIT engine seems to work a lot better in our testing... cheers nico ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" 2014-02-17 21:27 [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" Nicolas Dechesne @ 2014-02-17 21:46 ` Denys Dmytriyenko 2014-02-17 23:03 ` Martin Jansa 2014-02-17 22:44 ` [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" Khem Raj 1 sibling, 1 reply; 7+ messages in thread From: Denys Dmytriyenko @ 2014-02-17 21:46 UTC (permalink / raw) To: openembedded-devel; +Cc: Andre McCurdy On Mon, Feb 17, 2014 at 02:27:51PM -0700, Nicolas Dechesne wrote: > hi, > > does anybody know why in Qt5/qtbase.inc, we have: > > ARM_INSTRUCTION_SET = "arm" > > Could it be an a low hanging fruit from the past? e.g. before > https://bugreports.qt-project.org/browse/QTBUG-16402 or > https://qt.gitorious.org/qt/qtbase/commit/a3bd9d4c0f3d9e80dbe35bd88649b245dca5f410? Hmm, I would assume that's here from 4.8 days, although I haven't tried dropping that line for latest Qt5... Would make sense to do some more testing. > as a matter of fact, for our project Qt5 (and QtWebkit) are building > (and working fine) when built with Thumb2, outside of OE. Also using > ARM instruction set instead of Thumb2 enforces Webkit to use the ARM > version of the javascript JIT, while the Thumb2 JIT engine seems to > work a lot better in our testing... Seems like worth the effort to re-test the need for that setting. Unless someone else has tried it already and found out the issue is still there -- Denys ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" 2014-02-17 21:46 ` Denys Dmytriyenko @ 2014-02-17 23:03 ` Martin Jansa 2014-02-18 5:33 ` Andre McCurdy 0 siblings, 1 reply; 7+ messages in thread From: Martin Jansa @ 2014-02-17 23:03 UTC (permalink / raw) To: openembedded-devel; +Cc: Andre McCurdy [-- Attachment #1: Type: text/plain, Size: 1341 bytes --] On Mon, Feb 17, 2014 at 04:46:23PM -0500, Denys Dmytriyenko wrote: > On Mon, Feb 17, 2014 at 02:27:51PM -0700, Nicolas Dechesne wrote: > > hi, > > > > does anybody know why in Qt5/qtbase.inc, we have: > > > > ARM_INSTRUCTION_SET = "arm" > > > > Could it be an a low hanging fruit from the past? e.g. before > > https://bugreports.qt-project.org/browse/QTBUG-16402 or > > https://qt.gitorious.org/qt/qtbase/commit/a3bd9d4c0f3d9e80dbe35bd88649b245dca5f410? > > Hmm, I would assume that's here from 4.8 days, although I haven't tried > dropping that line for latest Qt5... Would make sense to do some more testing. > > > > as a matter of fact, for our project Qt5 (and QtWebkit) are building > > (and working fine) when built with Thumb2, outside of OE. Also using > > ARM instruction set instead of Thumb2 enforces Webkit to use the ARM > > version of the javascript JIT, while the Thumb2 JIT engine seems to > > work a lot better in our testing... > > Seems like worth the effort to re-test the need for that setting. Unless > someone else has tried it already and found out the issue is still there IIRC it was failing to build for armv4t (at least with 5.0.0) if someone tests that armv4t builds with 5.2.*, I'll accept the patch. Cheers, -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" 2014-02-17 23:03 ` Martin Jansa @ 2014-02-18 5:33 ` Andre McCurdy 2014-02-18 6:56 ` Martin Jansa 0 siblings, 1 reply; 7+ messages in thread From: Andre McCurdy @ 2014-02-18 5:33 UTC (permalink / raw) To: openembedded-devel On Mon, Feb 17, 2014 at 3:03 PM, Martin Jansa <martin.jansa@gmail.com> wrote: > On Mon, Feb 17, 2014 at 04:46:23PM -0500, Denys Dmytriyenko wrote: >> On Mon, Feb 17, 2014 at 02:27:51PM -0700, Nicolas Dechesne wrote: >> > hi, >> > >> > does anybody know why in Qt5/qtbase.inc, we have: >> > >> > ARM_INSTRUCTION_SET = "arm" >> > >> > Could it be an a low hanging fruit from the past? e.g. before >> > https://bugreports.qt-project.org/browse/QTBUG-16402 or >> > https://qt.gitorious.org/qt/qtbase/commit/a3bd9d4c0f3d9e80dbe35bd88649b245dca5f410? >> >> Hmm, I would assume that's here from 4.8 days, although I haven't tried >> dropping that line for latest Qt5... Would make sense to do some more testing. >> >> > as a matter of fact, for our project Qt5 (and QtWebkit) are building >> > (and working fine) when built with Thumb2, outside of OE. Also using >> > ARM instruction set instead of Thumb2 enforces Webkit to use the ARM >> > version of the javascript JIT, while the Thumb2 JIT engine seems to >> > work a lot better in our testing... >> >> Seems like worth the effort to re-test the need for that setting. Unless >> someone else has tried it already and found out the issue is still there > > IIRC it was failing to build for armv4t (at least with 5.0.0) if someone > tests that armv4t builds with 5.2.*, I'll accept the patch. With ARM_INSTRUCTION_SET forced to thumb I'm able to build qtbase 5.1.1 and 5.2.1 tuned for both armv4t and cortexa9thf-neon. Andre -- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" 2014-02-18 5:33 ` Andre McCurdy @ 2014-02-18 6:56 ` Martin Jansa 2014-02-18 8:01 ` [meta-qt5][PATCH] qtbase.inc: don't force ARM_INSTRUCTION_SET to arm Andre McCurdy 0 siblings, 1 reply; 7+ messages in thread From: Martin Jansa @ 2014-02-18 6:56 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1761 bytes --] On Mon, Feb 17, 2014 at 09:33:10PM -0800, Andre McCurdy wrote: > On Mon, Feb 17, 2014 at 3:03 PM, Martin Jansa <martin.jansa@gmail.com> wrote: > > On Mon, Feb 17, 2014 at 04:46:23PM -0500, Denys Dmytriyenko wrote: > >> On Mon, Feb 17, 2014 at 02:27:51PM -0700, Nicolas Dechesne wrote: > >> > hi, > >> > > >> > does anybody know why in Qt5/qtbase.inc, we have: > >> > > >> > ARM_INSTRUCTION_SET = "arm" > >> > > >> > Could it be an a low hanging fruit from the past? e.g. before > >> > https://bugreports.qt-project.org/browse/QTBUG-16402 or > >> > https://qt.gitorious.org/qt/qtbase/commit/a3bd9d4c0f3d9e80dbe35bd88649b245dca5f410? > >> > >> Hmm, I would assume that's here from 4.8 days, although I haven't tried > >> dropping that line for latest Qt5... Would make sense to do some more testing. > >> > >> > as a matter of fact, for our project Qt5 (and QtWebkit) are building > >> > (and working fine) when built with Thumb2, outside of OE. Also using > >> > ARM instruction set instead of Thumb2 enforces Webkit to use the ARM > >> > version of the javascript JIT, while the Thumb2 JIT engine seems to > >> > work a lot better in our testing... > >> > >> Seems like worth the effort to re-test the need for that setting. Unless > >> someone else has tried it already and found out the issue is still there > > > > IIRC it was failing to build for armv4t (at least with 5.0.0) if someone > > tests that armv4t builds with 5.2.*, I'll accept the patch. > > With ARM_INSTRUCTION_SET forced to thumb I'm able to build qtbase > 5.1.1 and 5.2.1 tuned for both armv4t and cortexa9thf-neon. Cool, can you please send the patch removing ARM_INSTRUCTION_SET? Thanks -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [meta-qt5][PATCH] qtbase.inc: don't force ARM_INSTRUCTION_SET to arm 2014-02-18 6:56 ` Martin Jansa @ 2014-02-18 8:01 ` Andre McCurdy 0 siblings, 0 replies; 7+ messages in thread From: Andre McCurdy @ 2014-02-18 8:01 UTC (permalink / raw) To: openembedded-devel Forcing ARM_INSTRUCTION_SET to arm when building qtbase no longer seems to be required. Confirmed by forcing ARM_INSTRUCTION_SET to thumb and building qtbase 5.1.1 and 5.2.1 tuned for both armv4t and cortexa9thf-neon. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> --- recipes-qt/qt5/qtbase.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index f056393..ff62297 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/recipes-qt/qt5/qtbase.inc @@ -126,9 +126,6 @@ QT_CONFIG_FLAGS += " \ ${EXTRA_OECONF} \ " -# Qt uses atomic instructions not supported in thumb mode -ARM_INSTRUCTION_SET = "arm" - do_generate_qt_config_file_append() { cat >> ${QT_CONF_PATH} <<EOF -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" 2014-02-17 21:27 [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" Nicolas Dechesne 2014-02-17 21:46 ` Denys Dmytriyenko @ 2014-02-17 22:44 ` Khem Raj 1 sibling, 0 replies; 7+ messages in thread From: Khem Raj @ 2014-02-17 22:44 UTC (permalink / raw) To: openembedded-devel; +Cc: Andre McCurdy -Khem On Feb 17, 2014 1:28 PM, "Nicolas Dechesne" <nicolas.dechesne@linaro.org> wrote: > > hi, > > does anybody know why in Qt5/qtbase.inc, we have: > > ARM_INSTRUCTION_SET = "arm" there were issues with thumb1 and i guess legacy continued may be its not needed any longer test it out and send a patch make sure that when its using thumb1 then current logic still kicks in > > Could it be an a low hanging fruit from the past? e.g. before > https://bugreports.qt-project.org/browse/QTBUG-16402 or > https://qt.gitorious.org/qt/qtbase/commit/a3bd9d4c0f3d9e80dbe35bd88649b245dca5f410 ? > > as a matter of fact, for our project Qt5 (and QtWebkit) are building > (and working fine) when built with Thumb2, outside of OE. Also using > ARM instruction set instead of Thumb2 enforces Webkit to use the ARM > version of the javascript JIT, while the Thumb2 JIT engine seems to > work a lot better in our testing... > > cheers > > nico > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-02-18 8:01 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-02-17 21:27 [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" Nicolas Dechesne 2014-02-17 21:46 ` Denys Dmytriyenko 2014-02-17 23:03 ` Martin Jansa 2014-02-18 5:33 ` Andre McCurdy 2014-02-18 6:56 ` Martin Jansa 2014-02-18 8:01 ` [meta-qt5][PATCH] qtbase.inc: don't force ARM_INSTRUCTION_SET to arm Andre McCurdy 2014-02-17 22:44 ` [meta-qt5] why does Qt5 build with ARM_INSTRUCTION_SET = "arm" Khem Raj
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.