public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6471] New: SHMLBA incorrect for sparc
@ 2008-04-30 23:28 errandir_news at mph dot eclipse dot co dot uk
  2008-05-14 22:48 ` [Bug libc/6471] " drepper at redhat dot com
  0 siblings, 1 reply; 3+ messages in thread
From: errandir_news at mph dot eclipse dot co dot uk @ 2008-04-30 23:28 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/6471] SHMLBA incorrect for sparc
  2008-04-30 23:28 [Bug libc/6471] New: SHMLBA incorrect for sparc errandir_news at mph dot eclipse dot co dot uk
@ 2008-05-14 22:48 ` drepper at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2008-05-14 22:48 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper at redhat dot com   |jakub at redhat dot com
             Status|NEW                         |ASSIGNED


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/6471] SHMLBA incorrect for sparc
       [not found] <bug-6471-131@http.sourceware.org/bugzilla/>
@ 2012-03-18 14:21 ` polacek at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: polacek at redhat dot com @ 2012-03-18 14:21 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=6471

Marek Polacek <polacek at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |polacek at redhat dot com
         Resolution|                            |FIXED

--- Comment #1 from Marek Polacek <polacek at redhat dot com> 2012-03-18 09:04:40 UTC ---
Should be fixed in git.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-18  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 23:28 [Bug libc/6471] New: SHMLBA incorrect for sparc errandir_news at mph dot eclipse dot co dot uk
2008-05-14 22:48 ` [Bug libc/6471] " drepper at redhat dot com
     [not found] <bug-6471-131@http.sourceware.org/bugzilla/>
2012-03-18 14:21 ` polacek at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).