Re: pthread_self() alignment when heap grows up

2014-04-01 Thread Pinski, Andrew
I have a fix I think. I found this while working on ilp32 too. Thanks, Andrew > On Apr 1, 2014, at 8:20 PM, "Michael Hudson-Doyle" > wrote: > > Hi all, > > I've just filed a bug on glibc I'd love you to take a look at: > https://sourceware.org/bugzilla/show_bug.cgi?id=16796 > > Here's the d

pthread_self() alignment when heap grows up

2014-04-01 Thread Michael Hudson-Doyle
Hi all, I've just filed a bug on glibc I'd love you to take a look at: https://sourceware.org/bugzilla/show_bug.cgi?id=16796 Here's the description to save clicking: Hi, There is a test in glibc (tst-tls5) that tests that ((uintptr_t)pthread_self())%16 is zero. But watch this: (t-mwhudson)mwh