Re: gcc 4.5 and TLS

2010-06-03 Thread Finn Thain
On Thu, 3 Jun 2010, Andreas Schwab wrote: > Wouter Verhelst writes: > > > Does anyone know what the status of this support is in libc? > > It is basically working quite well. Unfortunately there is a big > problem which becomes apparent when running the libstdc++ testsuite: the > m68k compi

Re: gcc 4.5 and TLS

2010-06-03 Thread Thorsten Glaser
Andreas Schwab dixit: >m68k compiler only guarantees a maximum alignment of 2 bytes, but the >futex syscall requires 4 byte alignment. So if your pthread mutex is >not aligned on a 4 byte boundary this will result in passing an >unaligned address to futex. I haven't yet decided on what would be

Re: gcc 4.5 and TLS

2010-06-03 Thread Andreas Schwab
Wouter Verhelst writes: > Does anyone know what the status of this support is in libc? It is basically working quite well. Unfortunately there is a big problem which becomes apparent when running the libstdc++ testsuite: the m68k compiler only guarantees a maximum alignment of 2 bytes, but the