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

See the CrossGCC FAQ 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.5.3 breaks building glibc


Hello Dmitry!

[Please, next time, copy the crossgcc mailing list.]

On Thursday 21 January 2010 13:00:52 ÐÐÐÑÑÐÐ ÐÐÑÑÐÐÐ wrote:
> It fails as with cvs version of gligs as with release version in the same place
> [ALL  ]    i386-unknown-linux-gnu-gcc
[--SNIP--]
> `/home/moroz/MyDownloads/crosstool-ng-1.5.3/targets/i386-unknown-linux-
> gnu/build/build-libc/nptl/pthread_spin_trylock.o', 
> needed by `lib-noranlib'.  Stop.

Yes, that's expected. The i386 processor (yes, I do speak about the i386!)
is missing some instructions (I think it was cmpx, aka CoMPare and eXchange)
that is need for proper NPTL behavior. So you can not build NPTL for the
i386. For NPTL, you need at least an i486.

So, if you really have an i386 and you need threads, you will have to use
the linuxthreads implementation (instead of NPTL). That means a glibc 2.5.

Are you _sure_ you have an i386? If not, you'll have to tell crosstool-NG
with:
  Target options  --->
    ()  Architecture level
    ()  Emit assembly for CPU
    ()  Tune for CPU

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


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