This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: tst-pthread-getattr changes break sparc
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 25 Jul 2012 06:42:50 +0530
- Subject: Re: tst-pthread-getattr changes break sparc
- References: <20120724.165326.1443468626697317666.davem@davemloft.net>
On Tue, 24 Jul 2012 16:53:26 -0700 (PDT), David wrote:
> The trick you use to try and avoid touching the allocated stack space
> in allocate_and_test() doesn't work on sparc. Any alloca() call must
> absolutely, at all times, be within the stack rlimit even if you do
> not touch the allocated memory space explicitly.
I'll try to fix this. In the worst case I'll have to deduct a constant
from (stackaddr - mem), but I want to avoid doing that.
Do you want me to disable the test case till I fix this?
Regards,
Siddhesh
nptl/ChangeLog:
* Makefile: Disable running tst-pthread-getattr.
diff --git a/nptl/Makefile b/nptl/Makefile
index ef8e874..2a36d01 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -245,7 +245,7 @@ tests = tst-typesizes \
tst-exec1 tst-exec2 tst-exec3 tst-exec4 \
tst-exit1 tst-exit2 tst-exit3 \
tst-stdio1 tst-stdio2 \
- tst-stack1 tst-stack2 tst-stack3 tst-pthread-getattr \
+ tst-stack1 tst-stack2 tst-stack3 \
tst-unload \
tst-dlsym1 \
tst-sysconf \