X32 abi: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(After meta-x32 got integrated to oe-core, we don't need meta-x32 layer for x32 support. Update the wikipage.)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
Incorporate toolchain components and other bits (binutils, gcc, glibc, gdb, kernel, linux-libc-headers) into a meta-x32 layer; And added needed infrastructure into the oe-core/yocto tree so that meta-x32 layer can work on top; so that one can build complete images with x32 abi binaries.
Incorporate toolchain components and other bits (binutils, gcc, glibc, gdb, kernel, linux-libc-headers) into a meta-x32 layer; And added needed infrastructure into the oe-core/yocto tree so that meta-x32 layer can work on top; so that one can build complete images with x32 abi binaries.


==Status==
meta-x32 changes were integrated into OE-Core.
* The meta-x32 layer is hosting the x32 tollchain recipes now
* core-image-sato can build and run under qemu
* Many recipes have been fixed for compilation with x32 toolchain.


==X32 poky setup==
==X32 poky setup==
*add meta-x32 layer - For Edison and Denzil, this is not need for 1.3
** git clone x32 layer
git clone git://git.yoctoproject.org/experimental/meta-x32
** cat conf/bblayers.conf
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "4"
BBFILES ?= ""
BBLAYERS = " \
  /home/nitin/prj/poky.git/meta \
  /home/nitin/prj/poky.git/meta-yocto \
  /home/nitin/prj/meta-x32.git \
  "


* And add these lines to local.conf - for all releases
* Add these lines to local.conf  
  MACHINE = "qemux86-64"
  MACHINE = "qemux86-64"
  DEFAULTTUNE = "x86-64-x32"
  DEFAULTTUNE = "x86-64-x32"
#MACHINE = "atom-pc"
#DEFAULTTUNE = "core2-64-x32"
baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}"
==Tasks==
* try and find some way of assessing performance

Latest revision as of 11:55, 27 January 2016

Vision

Incorporate toolchain components and other bits (binutils, gcc, glibc, gdb, kernel, linux-libc-headers) into a meta-x32 layer; And added needed infrastructure into the oe-core/yocto tree so that meta-x32 layer can work on top; so that one can build complete images with x32 abi binaries.

meta-x32 changes were integrated into OE-Core.

X32 poky setup

  • Add these lines to local.conf
MACHINE = "qemux86-64"
DEFAULTTUNE = "x86-64-x32"