crosstool-ng 1.16.0: Error building glibc 2.8

Yann E. MORIN yann.morin.1998@free.fr
Fri Nov 9 14:21:00 GMT 2012


Zvi, All,

On Friday 02 November 2012 Zvi Vered wrote:
> Using crosstool-ng 1.16.0 I'm trying to build an i686-nptl-linux-gnu toolchain.
> 
> After setting all parameters according to the i686-nptl-linux-gnu
> sample I changed glibc to 2.8, gcc 4.2.2:

glibc-2.8 is old. Can't you try a more recent one (glibc-2.16 is now
out, IIRC)?

> with gcc 4.2.4 I got the following error:
> 
> bin/.build/i686-nptl-linux-gnu/build/build-libc-final/math/s_isnanf.os
> [ALL  ]    ../sysdeps/i386/fpu/s_frexp.S: Assembler messages:
> [ALL  ]    ../sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier
> for ".ifdef"
[--SNIP--]
> I googled the problem and found a patch for eglibc 2.8:
> http://www.eglibc.org/archives/patches/msg00073.html

There's already a patch for this for some glibc versions, but not
for 2.8, indeed.

> I think the patch should be added to the next version of crosstool.

Too late for next version, but yes for the one after.
Care to send a properly-formatted patch, please?

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