This is the mail archive of the glibc-bugs@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]

[Bug libc/6471] New: SHMLBA incorrect for sparc


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.


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