CT-NG possibly broken
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Tue May 11 15:33:00 GMT 2010
Joshua, All,
On Monday 10 May 2010 15:38:42 Joshua Weberruss wrote:
> I apologise in advance for any mistakes of protocol I make (this is my
> first post to a mailing list),
Apart from the HTML mail, you did well. ;-)
> but I believe I have found a situation
> that breaks crosstool-NG 1.7.0. I am attempting to build a cross
> compiler for the ARMv5TE in my SheevaPlug, building for Linux
> 2.6.33.2, using glibc-2.9.
> Everything builds without incident until glibc, which fails in the
> configure script, saying that 'as' and 'ld' are too old - I'm running
> Ubuntu 10.04 x86_64 as host, with binutils 2.20.1 installed.
Yes, this is a known issue, albeit undocumented. :-/
> I had a
> look around in glibc's configure.in file, which has a regex used to
> detect the version of binutils at lines 847 and 850 -
> [2.1[3-9]*|2.20]. It appears that it has 2.20 as a special case,
> and thus 2.20.1 won't work.
This is due to patches/glibc/2.9/600-recent-binutils.patch which adds
support for binutils-2.20. At the time the patch was devised, 2.20.1
was not out yet.
Maybe, and I say _maybe_, you would get better luck trying glibc-2.10 or
2.11. Those two versions are still marked 'experimental' in crosstool-NG
(because there has been little test), so you'll have to enable them with:
Paths and misc options --->
[*] Try features marked as EXPERIMENTAL
> I recognise that this is probably an upstream bug,
Definitely.
> and you might not be able to do much about it, but if anyone can
> offer any advice, that'd be great.
Update the path 600 to also add 2.20.1 as a special case, remove the
sources for glibc, and run again.
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
More information about the crossgcc
mailing list