This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6471] New: SHMLBA incorrect for sparc
- From: "errandir_news at mph dot eclipse dot co dot uk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Apr 2008 23:27:45 -0000
- Subject: [Bug libc/6471] New: SHMLBA incorrect for sparc
- Reply-to: sourceware-bugzilla at sourceware dot org
In sysdeps/unix/sysv/linux/sparc/bits/shm.h
SHMLBA is defined as the pagesize. This is incorrect and does not match
include/asm-sparc/shmparam.h.
It causes the LTP tests for shmat01, shmt09 and mmap01 to fail.
Unfortunately the vac_cache_size used in the kernel is derived from the CPU
settings in openprom. The largest size we can encounter here is 256KB (for
ROSS HyperSparc CPUs), so I suggest to use that.
If I patch bits/shm.h with 256*1024 the shmat01 test above succeeds. The other
LTP tests need additional fixes.
--
Summary: SHMLBA incorrect for sparc
Product: glibc
Version: 2.3.6
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: errandir_news at mph dot eclipse dot co dot uk
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6471
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.