From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] gcc-cross-intermediate: revise the 64bithack.patch for multilib case
Date: Sun, 14 Aug 2011 08:18:47 -0700 [thread overview]
Message-ID: <4E47E757.9000408@gmail.com> (raw)
In-Reply-To: <fdc4b5810c9adedea19d41a7856612201615e99c.1313328487.git.ke.yu@intel.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/14/2011 06:32 AM, Yu Ke wrote:
> current gcc-cross-intermediate has build failure in qemux86-64 lib64
> multilib case. the reason is that it still use lib instead of lib64
> while do_install use the libdir i.e. lib64
>
> so this patch fix this issue by making gcc honour the libdir.
I think similar patch should be done to ppc and mips as well.
>
> CC: Kumar Gala <galak@kernel.crashing.org> CC: Richard Purdie
> <richard.purdie@linuxfoundation.org>
>
> Signed-off-by: Yu Ke <ke.yu@intel.com> ---
> meta/recipes-devtools/gcc/gcc-4.6.inc | 2 +-
> meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch | 16
> +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc
> b/meta/recipes-devtools/gcc/gcc-4.6.inc index 0a148b4..ff8ca24
> 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++
> b/meta/recipes-devtools/gcc/gcc-4.6.inc @@ -1,6 +1,6 @@ require
> gcc-common.inc
>
> -PR = "r7" +PR = "r8"
>
> # Third digit in PV should be incremented after a minor release #
> happens from this branch on gcc e.g. currently its 4.6.0 diff --git
> a/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch
> b/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch index
> 4b846bb..c1129ca 100644 ---
> a/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch +++
> b/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch @@ -5,18 +5,20 @@
> By default gcc places 64 bit libs in a lib64 directory. This makes it
> use
>
> RP 25/7/10
>
> +revise it to honour base_libdir + +Yu Ke <ke.yu@intel.com> Aug 13,
> 2011 + Index: gcc-4.6.0/gcc/config/i386/t-linux64
> ===================================================================
> --- gcc-4.6.0.orig/gcc/config/i386/t-linux64 +++
> gcc-4.6.0/gcc/config/i386/t-linux64 -@@ -24,8 +24,8 @@ - #
> MULTILIB_OSDIRNAMES according to what is found on the target. - +@@
> -25,7 +25,7 @@ + MULTILIB_OPTIONS = m64/m32 --MULTILIB_DIRNAMES = 64
> 32 + MULTILIB_DIRNAMES = 64 32 -MULTILIB_OSDIRNAMES = ../lib64 $(if
> $(wildcard $(shell echo
> $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
> -+MULTILIB_DIRNAMES = . 32 -+MULTILIB_OSDIRNAMES = . $(if $(wildcard
> $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
> - ++MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) $(if
> $(wildcard $(shell echo
> $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) + LIBGCC =
> stmp-multilib INSTALL_LIBGCC = install-multilib
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk5H51YACgkQuwUzVZGdMxQ8jgCfXo7MQSziJZqLCMjxgsakiac4
2UoAn3BoazvtV+hlGkGhMCBk9sOGuvYg
=emFC
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2011-08-14 15:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-14 13:32 [PATCH 0/1] Bug fix for 1362 Yu Ke
2011-08-14 13:32 ` [PATCH 1/1] gcc-cross-intermediate: revise the 64bithack.patch for multilib case Yu Ke
2011-08-14 15:18 ` Khem Raj [this message]
2011-08-15 12:41 ` Yu Ke
2011-08-15 15:49 ` Khem Raj
2011-08-14 17:31 ` Koen Kooi
2011-08-15 12:48 ` Yu Ke
2011-08-15 13:16 ` Richard Purdie
2011-08-15 14:24 ` Yu Ke
2011-08-15 16:21 ` Richard Purdie
2011-08-16 22:50 ` Khem Raj
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=4E47E757.9000408@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox