Re: gcc 4.5 and TLS
Wouter Verhelst <email@example.com> 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
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 the
best way to fix that.
Andreas Schwab, firstname.lastname@example.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."