public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG
@ 2010-01-01 15:14 Joachim Nilsson
  2010-01-01 15:20 ` Yann E. MORIN
  2010-01-01 18:45 ` Yann E. MORIN
  0 siblings, 2 replies; 4+ messages in thread
From: Joachim Nilsson @ 2010-01-01 15:14 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Hi Yann!

It seems I need to add the 4.3.4/290-index_macro.patch to the GCC 4.4.x 
series as well.  I immediately trigger the following libstdc++ bug for 
4.4.2 with a uClibc .config which has UCLIBC_SUSV3_LEGACY_MACROS set[1].

     http://lists.busybox.net/pipermail/uclibc/2006-April/035991.html

The linked post has UCLIBC_SUSV3_LEGACY=y but the patch seems to apply 
well to both cases.

Btw. the armeb-unknown-linux-uclibc* samples have CONFIG_ARM_OABI=y and 
CONFIG_ARM_EABI is not set in their uClibc-0.9.30.1.config. I don't know 
if it matters, but I found it a bit peculiar.

Regards
  /Joachim

[1] - index()/rindex() etc.

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG
  2010-01-01 15:14 GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG Joachim Nilsson
@ 2010-01-01 15:20 ` Yann E. MORIN
  2010-01-01 16:58   ` Joachim Nilsson
  2010-01-01 18:45 ` Yann E. MORIN
  1 sibling, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2010-01-01 15:20 UTC (permalink / raw)
  To: crossgcc; +Cc: Joachim Nilsson

Joachim, All,

On Friday 01 January 2010 16:14:21 Joachim Nilsson wrote:
> It seems I need to add the 4.3.4/290-index_macro.patch to the GCC 4.4.x 
> series as well.  I immediately trigger the following libstdc++ bug for 
> 4.4.2 with a uClibc .config which has UCLIBC_SUSV3_LEGACY_MACROS set[1].
>      http://lists.busybox.net/pipermail/uclibc/2006-April/035991.html

OK, will do. Thanks.
Do you mean that you managed to overcome the previous issues as well?

> Btw. the armeb-unknown-linux-uclibc* samples have CONFIG_ARM_OABI=y and 
> CONFIG_ARM_EABI is not set in their uClibc-0.9.30.1.config. I don't know 
> if it matters, but I found it a bit peculiar.

It should not matter, as the uClibc build script in crosstool-NG mangles
the .config file with appropriate values depending on the configuration,
and EABI/OABI is such a config knob that gets mangled, look at:
  scripts/build/libc/uClibc.sh@200

BTW, this code is plain wrong when ARCH != arm. Will fix.

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] 4+ messages in thread

* Re: GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG
  2010-01-01 15:20 ` Yann E. MORIN
@ 2010-01-01 16:58   ` Joachim Nilsson
  0 siblings, 0 replies; 4+ messages in thread
From: Joachim Nilsson @ 2010-01-01 16:58 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

On 01/01/2010 04:20 PM, Yann E. MORIN wrote:
> Do you mean that you managed to overcome the previous issues as well?
>    

Nope, I started focusing on other things meanwhile, like adapting the 
uClibc .config to suit my needs better, as well as look into strace and 
ltrace.

At least the toolchain builds on 64-bit for me now.  Will look into the 
gcc build on 32-bit again later, unless you beat me to it.

>> Btw. the armeb-unknown-linux-uclibc* samples have CONFIG_ARM_OABI=y and
>> CONFIG_ARM_EABI is not set in their uClibc-0.9.30.1.config. I don't know
>> if it matters, but I found it a bit peculiar.
>>      
> It should not matter, as the uClibc build script in crosstool-NG mangles
> the .config file with appropriate values depending on the configuration,
> and EABI/OABI is such a config knob that gets mangled, look at:
>    scripts/build/libc/uClibc.sh@200
>    

Aha, cool! :)

Regards
  /Joachim


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG
  2010-01-01 15:14 GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG Joachim Nilsson
  2010-01-01 15:20 ` Yann E. MORIN
@ 2010-01-01 18:45 ` Yann E. MORIN
  1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-01-01 18:45 UTC (permalink / raw)
  To: crossgcc; +Cc: Joachim Nilsson

Joachim, All,

On Friday 01 January 2010 16:14:21 Joachim Nilsson wrote:
> It seems I need to add the 4.3.4/290-index_macro.patch to the GCC 4.4.x 
> series as well.

Committed as 6f836ab1b317. Thank you!

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] 4+ messages in thread

end of thread, other threads:[~2010-01-01 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-01 15:14 GCC 4.3.4/290-index_macro.patch also needed for 4.4.x in crosstool-NG Joachim Nilsson
2010-01-01 15:20 ` Yann E. MORIN
2010-01-01 16:58   ` Joachim Nilsson
2010-01-01 18:45 ` Yann E. MORIN

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).