[OE-core] [PATCH 0/2] Qt fixes

Jonathan Liu net147 at gmail.com
Thu Jun 13 23:04:08 UTC 2013


On 14/06/2013 7:38 AM, Martin Jansa wrote:
> On Thu, Jun 13, 2013 at 02:18:21PM -0700, Saul Wold wrote:
>> On 06/11/2013 06:21 PM, Jonathan Liu wrote:
>>> A couple of Qt fixes. These have been tested by Paul Eggleton.
>>> I have fixed some typos in the commit message for Felipe's patch and
>>> dropped the note regarding the build system going crazy as requested by
>>> Paul.
>>>
>>> Felipe F. Tonello (1):
>>>     qt: update qmake2 class to export qconfig.pri mkspec
>>>
>>> Jonathan Liu (1):
>>>     classes/qmake_base: allow parallel make
>>>
>>>    meta/classes/qmake2.bbclass     | 1 +
>>>    meta/classes/qmake_base.bbclass | 2 +-
>>>    2 files changed, 2 insertions(+), 1 deletion(-)
>>>
>> Jonathan,
>>
>> I think your patches may be causing this failure:
>>
>>> | mv -f libQtFeedbackE.so.1.2.0 libQtFeedbackE.so libQtFeedbackE.so.1 libQtFeedbackE.so.1.2 ../../lib/
>>> | { test -z "../../lib/" || cd "../../lib/"; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit 'libQtFeedbackE.so.1.2.0' && test -f libQtFeedbackE.so.1.2.0.gdb-index && objcopy --add-section '.gdb_index=libQtFeedbackE.so.1.2.0.gdb-index' --set-section-flags '.gdb_index=readonly' 'libQtFeedbackE.so.1.2.0' 'libQtFeedbackE.so.1.2.0' && rm -f libQtFeedbackE.so.1.2.0.gdb-index || true
>>> | /bin/sh: gdb: command not found
>>> | /bin/sh: line 0: test: -gt: unary operator expected
>> See the world build log:
>> http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/169/steps/Building%20Images/logs/stdio
>>
>> I did not catch this as I have gdb installed locally, but this does not
>> seem very cross-compile friendly and we have not seen it before.
> Is qt4 now trying to use gdb_dwarf_index? see
> https://github.com/meta-qt5/meta-qt5/commit/1a272bc79d0e9aba9385d00b0aa1acf116552ad5
>
It seems qt4 has gdb_dwarf_index enabled in the CONFIG. In the target 
sysroot, /usr/share/qt4/mkspecs/linux-oe-g++/qmake.conf contains:
CONFIG          += qt warn_on release incremental link_prl gdb_dwarf_index

Regards,
Jonathan



More information about the Openembedded-core mailing list