CT-NG 1.9.0, glibc 2.9 without threads

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Dec 13 22:43:00 GMT 2010


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



More information about the crossgcc mailing list