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
The following reply was made to PR lib/48324; it has been noted by GNATS.
From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
nathanialsloss%yahoo.com.au@localhost
Cc:
Subject: Re: lib/48324: ld.elf_so - tty.c memcpy overwrites tcb for tls variant
2
Date: Mon, 21 Oct 2013 07:46:17 +0100
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