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 breaks


Hello Stefano!
Hello All!

On Wednesday 15 October 2008 10:56:42 Stefano Ricci wrote:
> However the error continues to be the following:
> [INFO ]  Installing C library
> [ERROR]    ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:29: error:
> conflicting types for '__lll_lock_wait'
> [ERROR]    ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:448:
> error: previous declaration of '__lll_lock_wait' was here
> [ERROR]    make[3]: ***
> [/home/stefano/svil/targets/i386-unknown-linux-gnu/build/build-libc/nptl/libc-lowlevellock.o]
> Error 1

OK. I see you're using gcc-4.0.4 anf glibc-2.5. Do you have to use those
versions? They are quite old now.

glibc-2.6 and onward have a fix for the __lll_lock_wait problem. You could
try to backport that to glibc-2.5, or just use glibc-2.6 (or 2.6.1).

Also, as pointed to by Gerhard, you should instruct crosstool-NG to use i486
(or above) with the following option:
  Target options  --->  (i486)  Architecture level

Regards,
Yann E. MORIN.
  
-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  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]