Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Constantin Musca <constantinx.musca@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] gcc: enable multilib for target gcc
Date: Fri, 11 Jan 2013 15:26:59 +0000	[thread overview]
Message-ID: <1357918019.4072.76.camel@ted> (raw)
In-Reply-To: <1357917602.4072.74.camel@ted>

On Fri, 2013-01-11 at 15:20 +0000, Richard Purdie wrote:
> On Wed, 2013-01-09 at 11:00 +0200, Constantin Musca wrote:
> > - add a task to setup multilib configuration for target gcc
> > - this commit adapts Nitin Kamble's work to gcc 4.7
> > 
> > Tests:
> > root@qemux86-64:~# gcc -m64 t.c -o t
> > root@qemux86-64:~# file t
> > t: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
> > root@qemux86-64:~# ./t
> > Hello World !
> > root@qemux86-64:~# gcc -m32 t.c -o t
> > root@qemux86-64:~# file t
> > t: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
> > root@qemux86-64:~# ./t
> > Hello World !
> > 
> > [YOCTO #1369]
> > 
> > Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
> > ---
> >  meta/recipes-devtools/gcc/gcc-4.7.inc              |   2 +-
> >  meta/recipes-devtools/gcc/gcc-common.inc           |  23 ++++
> >  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  | 132 +++++++++++++++++++++
> >  meta/recipes-devtools/gcc/libgcc_4.7.bb            |  44 +++++++
> >  6 files changed, 202 insertions(+), 2 deletions(-)
> >  create mode 100644 meta/recipes-devtools/gcc/gcc-multilib-config.inc
> 
> This triggered some build failures:
> 
> http://autobuilder.yoctoproject.org:8010/builders/nightly-mips/builds/769/steps/shell_29/logs/stdio

and a different more subtle issue in:

http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-64-lsb/builds/191/steps/shell_29/logs/stdio

which I suspect is related since a build of master just before this
without the patch worked.

Cheers,

Richard




      reply	other threads:[~2013-01-11 15:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09  9:00 [PATCH 0/3] On-target multilib gcc enhancement Constantin Musca
2013-01-09  9:00 ` [PATCH 1/3] gcc: add missing dependency (zlib) Constantin Musca
2013-01-09  9:00 ` [PATCH 2/3] gcc: remove the 64bithack patch Constantin Musca
2013-01-09 13:45   ` Richard Purdie
2013-01-09 14:30     ` Constantin Musca
2013-01-09  9:00 ` [PATCH 3/3] gcc: enable multilib for target gcc Constantin Musca
2013-01-11 15:20   ` Richard Purdie
2013-01-11 15:26     ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1357918019.4072.76.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=constantinx.musca@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox