On 21/10/2013 02:55, Nat Sloss wrote: [...]
It turns out if you declare var4 as __thread volatile var4 = 1 it passes.So I guess it has something to do with compiler optimization. So I patched the define containing __thread with __thread volatile in libmpfrand all is well. So I don't think that ld.elf_so/libpthread needs changing.
ld.elf_so need fixiing.
Thank you to everyone who worked on this. Should I submit another PR with the changes to the mpfr package or should Ideal with it here?
Probably best a send PR. Nick