Bug 1920

Summary: qmake2 is 64-bin binary even on 32-bit systems
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Wolfgang Denk <wd>
Component: graphicsAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.1   
Target Milestone: 1.2 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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