Commits enabling x32 infrastructure in the master branch
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | toolchain-scripts & other classes: add TARGET_LD_ARCH & TARGET_AS_ARCH varsmeta/ meta/ meta/ +5 more | +41 | 0 replies | |
| 2/4 | siteinfo.bbclass: add entries for new x86_64 ABI targetsmeta/ | +13 | 3 replies | |
| 3/4 | insane.bbclass: add entries for linux-gnu<ABI>meta/ | +9 | 0 replies | |
| 4/4 | x86 tune inc files: add x32 abi tune parametersmeta/ meta/ meta/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Commits enabling x32 infrastructure in the master branch
From: Nitin A Kamble <[email protected]>
These commits add infrastructure to the oe-core/yocto to add the meta-x32 layer to build x32 images. core-image-minimal has been tested to work with this commits
=== How to build an image with x32 binaries
Add this layer on top of yocto/oe-core
http://git.pokylinux.org/cgit/cgit.cgi/experimental/meta-x32/
Add these lines in your conf/local.conf
MACHINE = "qemux86-64"
DEFAULTTUNE = "x86-64-x32"
TUNE_PKGARCH = "x86-64-x32"
And build the minimal image with command:
bitbake core-image-minimal
And then run it with qemu with this command:
runqemu qemux86-64 core-image-minimal
=== How to know if your binaries/libraries are x32:
Run the file command to know what type of elf binary is it. It should be 32bit x86-64 elf binary as seen here:
$ file bin/busybox bin/busybox: setuid ELF 32-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.35, not stripped
$file usr/lib/libz.so.1.2.5usr/lib/libz.so.1.2.5: ELF 32-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
The following changes since commit f94b781695cd8fa387daff16ecbf3987a0883018:
poky.conf: explicitly referenced preferred linux-yocto version (2011-07-27 09:56:56 -0700)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/x32
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/x32
Nitin A Kamble (4):
toolchain-scripts & other classes: add TARGET_LD_ARCH &
TARGET_AS_ARCH vars
siteinfo.bbclass: add entries for new x86_64 ABI targets insane.bbclass: add entries for linux-gnu<ABI> x86 tune inc files: add x32 abi tune parameters
meta/classes/allarch.bbclass | 2 ++ meta/classes/cross-canadian.bbclass | 2 ++ meta/classes/cross.bbclass | 2 ++ meta/classes/crosssdk.bbclass | 2 ++ meta/classes/insane.bbclass | 9 +++++++++ meta/classes/native.bbclass | 10 +++++++--- meta/classes/nativesdk.bbclass | 4 ++++ meta/classes/siteinfo.bbclass | 14 +++++++++++++- meta/classes/toolchain-scripts.bbclass | 9 +++++---- meta/conf/bitbake.conf | 23 +++++++++++++++++------ meta/conf/machine/include/ia32/arch-ia32.inc | 23 ++++++++++++++++++++--- meta/conf/machine/include/tune-core2.inc | 4 ++++ meta/conf/machine/include/tune-x86_64.inc | 2 +- 13 files changed, 88 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.4.4