[PATCH 4/5] bsps: Thread-local storage (TLS) for linkcmds

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jan 30 10:27:58 UTC 2014


On 2014-01-29 15:24, Sebastian Huber wrote:
> On 2014-01-29 15:11, Gedare Bloom wrote:
>> This one should be verified (compile) for all BSPs..
[...]
> The new tests sptls01 and sptls02 don't work on some targets due to incomplete
> tool chains and/or a missing TLS implementation.
>

A tool chain bug is something like this:

/opt/rtems-4.11/lib64/gcc/avr-rtems4.11/4.7.3/avr51/libgcc.a(emutls.o): In 
function `__emutls_get_address':
/home/sh/archive/gcc-4.7.3/libgcc/emutls.c:139: undefined reference to 
`__atomic_load_2'
/home/sh/archive/gcc-4.7.3/libgcc/emutls.c:150: undefined reference to 
`__atomic_store_2'
collect2: error: ld returned 1 exit status

Its the job of the AVR maintainer/user to fix this.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list