NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/48324: ld.elf_so - tty.c memcpy overwrites tcb for tls variant 2




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 libmpfr
  and 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 I
  deal with it here?

Probably best a send PR.

Nick


Home | Main Index | Thread Index | Old Index