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: CT-NG 1.9.0, glibc 2.9 without threads


Thomas, All,

On Sunday 12 December 2010 13:44:14 Thomas Petazzoni wrote:
> I tried to build a glibc 2.9 ARM toolchain with CT-NG 1.9.0, without
> threads, and the build failed with:
> [ALL  ]    In file included from ../ports/sysdeps/arm/libc-tls.c:20:
> [ERROR]    ../csu/libc-tls.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static_dtv'
> [ALL  ]    ../csu/libc-tls.c: In function 'init_static_tls':
> [ERROR]    ../csu/libc-tls.c:100: error: 'TLS_TCB_ALIGN' undeclared (first use in this function)
> [ERROR]    ../csu/libc-tls.c:100: error: (Each undeclared identifier is reported only once
> [ERROR]    ../csu/libc-tls.c:100: error: for each function it appears in.)
[--SNIP--]

This has been resolved out-of-list, but for the sake of searchability in
the archives, here is the outcome:

Building a non-threaded glibc is long unsupported. See:
  http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html

So the solution is to disable the no-thread option for glibc and eglibc.

Thank you, Thomas!

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]