From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] gcc-cross-intermediate: fix do_install for x32
Date: Fri, 06 Apr 2012 23:05:57 -0700 [thread overview]
Message-ID: <4F7FD945.7030201@gmail.com> (raw)
In-Reply-To: <ADD6A3980E8C39419A432FF422031B4C01382684@ORSMSX106.amr.corp.intel.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/03/2012 04:01 PM, Kamble, Nitin A wrote:
>
>
>> -----Original Message----- From:
>> openembedded-core-bounces@lists.openembedded.org
>> [mailto:openembedded-core-bounces@lists.openembedded.org] On
>> Behalf Of nitin.a.kamble@intel.com Sent: Tuesday, April 03, 2012
>> 3:58 PM To: openembedded-core@lists.openembedded.org Subject:
>> [OE-core] [PATCH 1/2] gcc-cross-intermediate: fix do_install for
>> x32
>>
>> From: Nitin A Kamble <nitin.a.kamble@intel.com>
>>
>> This Fixes [Ycoto #2223] bug.
>>
>> The gcc osdir is obtained in the do_install by invocation of
>> command "gcc -print-multi-os-directory". For x32 it returns gcc
>> osdir for the default abi which is x86_64. Fix this by adding
>> target abi parameter to the gcc command line to get correct gcc
>> osdir with invocation of command "gcc -mx32
>> -print-multi-os-directory"
how does it do on ppc64 multilib ?
>>
>> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> ---
>> .../gcc/gcc-cross-intermediate.inc | 3 ++- 1
>> files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git
>> a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
>> b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index
>> 316a764..1995725 100644 ---
>> a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++
>> b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc @@ -35,9
>> +35,10 @@ do_compile () { }
>>
>> do_install () { + set -x
>
> I have removed this debug line from the commit on the contrib
> branch. Nitin
>
>
>> oe_runmake 'DESTDIR=${D}' install install -d
>> ${D}${target_base_libdir}/ -
>> osdir=`${D}${STAGING_BINDIR_TOOLCHAIN}.${PN}/${TARGET_PREFIX}gcc
>> -print-multi-os-directory` +
>> osdir=`${D}${STAGING_BINDIR_TOOLCHAIN}.${PN}/${TARGET_PREFIX}gcc
>> +${TARGET_CC_ARCH} -print-multi-os-directory` mv
>> ${D}${exec_prefix}/${TARGET_SYS}/lib/$osdir/*
>> ${D}${target_base_libdir}/
>>
>> # We don't really need this (here shares/ contains man/, info/,
>> locale/). -- 1.7.7.6
>>
>>
>> _______________________________________________ Openembedded-core
>> mailing list Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>>
> _______________________________________________ Openembedded-core
> mailing list Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9/2UUACgkQuwUzVZGdMxRRvwCeN8ulkeVxnXLliRUElg8anFfq
7aMAn0WU8GI58qHMxJxTjXOuQr4p5bPE
=A/xt
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-04-07 6:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 22:57 [PATCH 0/2] Few bugfixes nitin.a.kamble
2012-04-03 22:57 ` [PATCH 1/2] gcc-cross-intermediate: fix do_install for x32 nitin.a.kamble
2012-04-03 23:01 ` Kamble, Nitin A
2012-04-07 6:05 ` Khem Raj [this message]
2012-04-03 22:57 ` [PATCH 2/2] eglibc packaging: locale packaging configuration nitin.a.kamble
2012-04-03 23:20 ` Darren Hart
2012-04-07 6:23 ` Khem Raj
2012-04-04 17:06 ` [PATCH 0/2] Few bugfixes Saul Wold
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=4F7FD945.7030201@gmail.com \
--to=raj.khem@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.