Some users see the following QA errors when building qt4: > | ERROR: QA Issue: Architecture did not match (40 to 3) on /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.4-r39.5/packages-split/qt4-embedded-tools/usr/bin/rcc > | ERROR: QA Issue: Architecture did not match (40 to 3) on /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.4-r39.5/packages-split/qt4-embedded-tools/usr/bin/moc > | ERROR: QA Issue: Architecture did not match (40 to 3) on /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.4-r39.5/packages-split/qt4-embedded-tools/usr/bin/uic We originally fixed this problem by simply deleting these executables [1] on the assumption that they were always meant to be host executables. However, after a patch submission [2] and some testing with various architectures the executables were found to have the correct architecture, so the patch was effectively reverted. Now we have a report [3] of the problem returning. We need to figure out the correct solution to this (and not just revert the patch.) The first thing to do is to figure out how to reproduce it, because at the moment I can't. [1] http://cgit.openembedded.org/openembedded-core/commit/?id=69eeb3d2276e5b10d084b47d308ecfc8daf8b467 [2] http://patches.openembedded.org/patch/16397/ [3] http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014779.html
I have a fix for this but am waiting for Eric Bénard (or someone else who experienced this issue) to verify that it fixes the problem. The patch can be found in this OE-core contrib branch: http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/qt4-arch-fix
Fix merged to master in revision 99a6e1a3a453c17575439723599da6bef62175bb.