This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tst-pthread-getattr changes break sparc


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 \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]