Re: SIGSTKSZ/MINSIGSTKSZ too small on 64bit

2013-07-26 Thread Ryan Arnold
too small on 64bit On Fri, Jul 26, 2013 at 12:23:25PM +1000, Anton Blanchard wrote: Hi, Alan has been looking at a glibc test fail. His analysis shows SEGVs in signal handlers using sigaltstack, and that MINSIGSTKSZ and SIGSTKSZ are too small. We increased the size of rt_sigframe

Re: SIGSTKSZ/MINSIGSTKSZ too small on 64bit

2013-07-26 Thread Alan Modra
On Fri, Jul 26, 2013 at 04:31:34PM -0500, Ryan Arnold wrote: Adhemerval and I were just looking at the signal stack frames and I'd noticed the increase in size due to the addition of the HTM bits so this is great timing. I tried a sigstack.h patch that increased the values as you indicated

SIGSTKSZ/MINSIGSTKSZ too small on 64bit

2013-07-25 Thread Anton Blanchard
Hi, Alan has been looking at a glibc test fail. His analysis shows SEGVs in signal handlers using sigaltstack, and that MINSIGSTKSZ and SIGSTKSZ are too small. We increased the size of rt_sigframe in commit 2b0a576d15e0 (powerpc: Add new transactional memory state to the signal context) but

Re: SIGSTKSZ/MINSIGSTKSZ too small on 64bit

2013-07-25 Thread Alan Modra
On Fri, Jul 26, 2013 at 12:23:25PM +1000, Anton Blanchard wrote: Hi, Alan has been looking at a glibc test fail. His analysis shows SEGVs in signal handlers using sigaltstack, and that MINSIGSTKSZ and SIGSTKSZ are too small. We increased the size of rt_sigframe in commit 2b0a576d15e0