[00/10] Enable multilib for target gcc

Submitted by Nitin A Kamble on Feb. 22, 2012, 6:37 a.m. | Patch ID: 21543


Message ID cover.1329892604.git.nitin.a.kamble@intel.com
State New
Headers show


git://git.pokylinux.org/poky-contrib nitin/gcc-multilib-for-push

Commit Message

Nitin A Kamble Feb. 22, 2012, 6:37 a.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

These commits enable the target gcc for multilib compilation.

The tune file definitions are rearranged for easy parsing by multilib code.

Multilib setup code is added for target gcc recipe. This code looks at the
multilib configuration defined in local.conf and generates multilib setup files
for target gcc accordingly.

Also target libgcc recipe is extended to have correct paths for non-default
gcc multilib options.

All this code added for multilib setup is inactive if multilib is not enabled
in the local.conf

This has tested to work with x86 & x86-64 enabled multilib configuration
for x86-64 machine.


The following changes since commit 87e32edb88c30ac116fa396148ac26357051f93a:

  iputils: Add base_libdir to VPATH in order to find the crypto library (2012-02-21 17:59:40 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib nitin/gcc-multilib-for-push

Nitin A Kamble (10):
  arch-ia32: rearrange tune configuration
  arch-ia32.inc: restructure TUNE_ARCH definition
  arch-mips.inc: rearrange for gcc-multilib
  arch-mips.inc: define TUNE_FEATURE_ARCH vars for multilib tunes
  arch-powerpc*.inc: rearrange for gcc-multilib
  arch-powerpc*.inc: rearrange TUNE_ARCH definition
  gcc: remove the 64bithack patch
  target gcc: gcc-multilib-setup
  libgcc_4.6.bb: Complete quote in definition of FILES_libgcov-dev
  libgcc: get the gcc header files working

 meta/conf/machine/include/ia32/arch-ia32.inc       |   50 ++++---
 meta/conf/machine/include/mips/arch-mips.inc       |   68 +++++----
 meta/conf/machine/include/powerpc/arch-powerpc.inc |   25 ++--
 .../machine/include/powerpc/arch-powerpc64.inc     |   12 +-
 meta/recipes-devtools/gcc/gcc-4.6.inc              |    3 +-
 meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch  |   68 ---------
 meta/recipes-devtools/gcc/gcc-configure-common.inc |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-target.inc |    1 +
 meta/recipes-devtools/gcc/gcc-multilib-config.inc  |  149 ++++++++++++++++++++
 meta/recipes-devtools/gcc/libgcc_4.6.bb            |   55 +++++++-
 10 files changed, 291 insertions(+), 142 deletions(-)
 delete mode 100644 meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-multilib-config.inc