Bug 1920 - qmake2 is 64-bin binary even on 32-bit systems
Summary: qmake2 is 64-bin binary even on 32-bit systems
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.1
Hardware: All Multiple
: Medium normal
Target Milestone: 1.2 M3
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-01-18 12:50 UTC by Wolfgang Denk
Modified: 2012-02-09 10:20 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Denk 2012-01-18 12:50:13 UTC
Even when building for a 32 bit system (SDKMACHINE = "i686" in
"conf/local.conf") all "qmake2" binaries get built as 64 bit:

$ file $(find * -type f -name qmake2)
tmp/sysroots/x86_64-linux/usr/bin/qmake2:                                                                                                                                    ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
tmp/work/i686-nativesdk-eldk-linux/qt4-tools-nativesdk-4.7.3-r6.0/image/opt/eldk-5.1/armv7a/sysroots/i686-eldk-linux/usr/bin/qmake2:                                         ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
tmp/work/i686-nativesdk-eldk-linux/qt4-tools-nativesdk-4.7.3-r6.0/package/opt/eldk-5.1/armv7a/sysroots/i686-eldk-linux/usr/bin/qmake2:                                       ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
tmp/work/i686-nativesdk-eldk-linux/qt4-tools-nativesdk-4.7.3-r6.0/package/opt/eldk-5.1/armv7a/sysroots/i686-eldk-linux/usr/bin/.debug/qmake2:                                ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
tmp/work/i686-nativesdk-eldk-linux/qt4-tools-nativesdk-4.7.3-r6.0/packages-split/qt4-tools-nativesdk/opt/eldk-5.1/armv7a/sysroots/i686-eldk-linux/usr/bin/qmake2:            ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
tmp/work/i686-nativesdk-eldk-linux/qt4-tools-nativesdk-4.7.3-r6.0/packages-split/qt4-tools-nativesdk-dbg/opt/eldk-5.1/armv7a/sysroots/i686-eldk-linux/usr/bin/.debug/qmake2: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
tmp/work/x86_64-linux/qt4-native-4.7.3-r12.1/sysroot-destdir/opt/eldk/build/eldk-rel-v5.1-2011-12-11-a999e4a-armv7a/tmp/sysroots/x86_64-linux/usr/bin/qmake2:                ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
tmp/work/x86_64-linux/qt4-native-4.7.3-r12.1/image/opt/eldk/build/eldk-rel-v5.1-2011-12-11-a999e4a-armv7a/tmp/sysroots/x86_64-linux/usr/bin/qmake2:                          ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
tmp/work/armv7a-vfp-neon-linux-gnueabi/meta-toolchain-qte-1.0-r6/sdk/image/opt/eldk-5.1/armv7a/sysroots/i686-eldk-linux/usr/bin/qmake2:                                      ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
Comment 1 Paul Eggleton 2012-02-09 10:20:11 UTC
This was fixed already by the following change (post-edison):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8575c864d4a15180fb9aeac6a4000c8a3548e05f