This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool-ng 1.16.0: Error building glibc 2.8


Dear Mr. Morin,

Attached the patch (for eglibc)
Not sure it is properly formatted.
I copied it from:
http://www.eglibc.org/archives/patches/msg00073.html

Thanks,
Zvika

On Fri, Nov 9, 2012 at 4:21 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> 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.  |
> '------------------------------^-------^------------------^--------------------'

Attachment: glibc2.8_patch
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]