This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/2036] New: Java fails to run on systems with 64K page size with nptl
- From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Dec 2005 23:05:33 -0000
- Subject: [Bug nptl/2036] New: Java fails to run on systems with 64K page size with nptl
- Reply-to: sourceware-bugzilla at sourceware dot org
This problem was raised for the IBM Java-1.4.1 SDK but applies to any program
using nptl where the system page size is larger then PTHREAD_STACK_MIN. This can
happen on powerpc starting with the POWER5+ systems whihc support 64K pages in
hardware.
It does not fail on linuxthreads.
In this case the pthread_create fails because the default value of pthread_attr
for stack_size was set from PTHREAD_STACK_MIN which is a compile time constant.
In this case it was much smaller then the actual page size.
The other problem is that the test in allocatestack.c that verifies the minimum
allocation for stack space includes the guard page plus 2 additonal pages. This
is ok where the pagesize is less then the PTHREAD_STACK_MIN but gets rediculous
with large pages sizes.
--
Summary: Java fails to run on systems with 64K page size with
nptl
Product: glibc
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: sjmunroe at us dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=2036
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.