* [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir
@ 2012-03-02 0:58 Bryan Hundven
2012-03-02 21:26 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: Bryan Hundven @ 2012-03-02 0:58 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc
# HG changeset patch
# User "Bryan Hundven" <bryanhundven@gmail.com>
# Date 1330649828 28800
# Node ID 3256154ac1cdeb3d937199466a4952508c9406c3
# Parent 369e2fbe9010a1911d61b56c977d2c94949daef9
cc/gcc: fix multilib breakage with core_prefix_dir
core_prefix_dir does not exist, so trying to get -print-multi-libs
doesn't work.
Change core_prefix_dir to prefix.
Signed-Off-By: Bryan Hundven <bryanhundven@gmail.com>
diff -r 369e2fbe9010 -r 3256154ac1cd scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh Sun Jul 24 19:35:24 2011 +0200
+++ b/scripts/build/cc/gcc.sh Thu Mar 01 16:57:08 2012 -0800
@@ -463,7 +463,7 @@
CT_DoExecLog ALL ln -sfv "${CT_TARGET}-gcc${ext}" "${prefix}/bin/${CT_TARGET}-cc${ext}"
if [ "${CT_MULTILIB}" = "y" ]; then
- multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc" -print-multi-lib \
+ multilibs=( $( "${prefix}/bin/${CT_TARGET}-gcc" -print-multi-lib \
|tail -n +2 ) )
if [ ${#multilibs[@]} -ne 0 ]; then
CT_DoLog EXTRA "gcc configured with these multilibs (besides the default):"
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir
2012-03-02 0:58 [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir Bryan Hundven
@ 2012-03-02 21:26 ` Yann E. MORIN
2012-03-02 21:30 ` Bryan Hundven
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2012-03-02 21:26 UTC (permalink / raw)
To: crossgcc; +Cc: Bryan Hundven
Bryan, All,
On Friday 02 March 2012 01:57:35 Bryan Hundven wrote:
> # HG changeset patch
> # User "Bryan Hundven" <bryanhundven@gmail.com>
> # Date 1330649828 28800
> # Node ID 3256154ac1cdeb3d937199466a4952508c9406c3
> # Parent 369e2fbe9010a1911d61b56c977d2c94949daef9
> cc/gcc: fix multilib breakage with core_prefix_dir
>
> core_prefix_dir does not exist, so trying to get -print-multi-libs
> doesn't work.
>
> Change core_prefix_dir to prefix.
Already reported by Zhenqianq:
http://sourceware.org/ml/crossgcc/2012-02/msg00091.html
I know I've been a bit slow at applying patches lately, I so apologise for
the delay. I tend to be overloaded with unrelated stuff these days. It should
calm down a bit soon, I hope... :-/
Thank you for the report! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir
2012-03-02 21:26 ` Yann E. MORIN
@ 2012-03-02 21:30 ` Bryan Hundven
0 siblings, 0 replies; 3+ messages in thread
From: Bryan Hundven @ 2012-03-02 21:30 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc
On Fri, Mar 2, 2012 at 1:26 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Bryan, All,
>
> On Friday 02 March 2012 01:57:35 Bryan Hundven wrote:
>> # HG changeset patch
>> # User "Bryan Hundven" <bryanhundven@gmail.com>
>> # Date 1330649828 28800
>> # Node ID 3256154ac1cdeb3d937199466a4952508c9406c3
>> # Parent 369e2fbe9010a1911d61b56c977d2c94949daef9
>> cc/gcc: fix multilib breakage with core_prefix_dir
>>
>> core_prefix_dir does not exist, so trying to get -print-multi-libs
>> doesn't work.
>>
>> Change core_prefix_dir to prefix.
>
> Already reported by Zhenqianq:
> http://sourceware.org/ml/crossgcc/2012-02/msg00091.html
Ah, my search was not good enough :D
> I know I've been a bit slow at applying patches lately, I so apologise for
> the delay. I tend to be overloaded with unrelated stuff these days. It should
> calm down a bit soon, I hope... :-/
No worries. I've been absent from crosstool-ng for a while, and I'm
glad no one depends on me to submit patches :)
On another note, I just noticed that gcc-4.7.0 is frozen for release.
So I'll wait on the other patches I submitted for that to release.
> Thank you for the report! :-)
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
> | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
> '------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-02 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02 0:58 [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir Bryan Hundven
2012-03-02 21:26 ` Yann E. MORIN
2012-03-02 21:30 ` Bryan Hundven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).