public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5145] New: alpha: Fix up NBPG in <sys/user.h>
@ 2007-10-08 12:30 macro at linux-mips dot org
  2007-10-08 12:34 ` [Bug libc/5145] " macro at linux-mips dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: macro at linux-mips dot org @ 2007-10-08 12:30 UTC (permalink / raw)
  To: glibc-bugs

Linux headers stopped providing PAGE_SIZE at some point, over a year 
ago, and <asm/page.h>, at least for the Alpha, is now solely for the 
kernel use only, wrapped by an #ifdef __KERNEL__ protection, so there is 
no point in including it at all.

 Here is a patch that provides the necessary definition in a way similar 
to what the i386 port does.  Without this change programs that make use of 
NBPG do not build for the Alpha, e.g. (taken from a build of BFD):

alpha-linux-gcc -DHAVE_CONFIG_H -I. -DTRAD_CORE -I. -I. -I./../include -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Werror -mcpu=ev4 -pipe -O2 -fomit-fram
e-pointer -c trad-core.c  -fPIC -DPIC -o .libs/trad-core.o
trad-core.c: In function 'trad_unix_core_file_p':
trad-core.c:122: error: 'PAGE_SIZE' undeclared (first use in this function)
trad-core.c:122: error: (Each undeclared identifier is reported only once
trad-core.c:122: error: for each function it appears in.)

-- 
           Summary: alpha: Fix up NBPG in <sys/user.h>
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: macro at linux-mips dot org
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: alpha-unknown-linux-gnu


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

------- 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] 5+ messages in thread

* [Bug libc/5145] alpha: Fix up NBPG in <sys/user.h>
  2007-10-08 12:30 [Bug libc/5145] New: alpha: Fix up NBPG in <sys/user.h> macro at linux-mips dot org
@ 2007-10-08 12:34 ` macro at linux-mips dot org
  2007-10-09  3:58 ` drepper at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: macro at linux-mips dot org @ 2007-10-08 12:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From macro at linux-mips dot org  2007-10-08 12:33 -------
Created an attachment (id=2036)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2036&action=view)
The fix for the problem

2007-10-01  Maciej W. Rozycki  <macro@linux-mips.org>

	* sysdeps/unix/sysv/linux/alpha/sys/user.h: Do not include 
	<asm/page.h>.
	(PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Define.

 Taken against 2.4, but applies to HEAD.  Please apply.


-- 


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

------- 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] 5+ messages in thread

* [Bug libc/5145] alpha: Fix up NBPG in <sys/user.h>
  2007-10-08 12:30 [Bug libc/5145] New: alpha: Fix up NBPG in <sys/user.h> macro at linux-mips dot org
  2007-10-08 12:34 ` [Bug libc/5145] " macro at linux-mips dot org
@ 2007-10-09  3:58 ` drepper at redhat dot com
  2008-11-26 23:29 ` [Bug ports/5145] " drepper at redhat dot com
  2010-05-04  2:23 ` mattst88 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2007-10-09  3:58 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper at redhat dot com   |rth at gcc dot gnu dot org
             Status|NEW                         |ASSIGNED


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

------- 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] 5+ messages in thread

* [Bug ports/5145] alpha: Fix up NBPG in <sys/user.h>
  2007-10-08 12:30 [Bug libc/5145] New: alpha: Fix up NBPG in <sys/user.h> macro at linux-mips dot org
  2007-10-08 12:34 ` [Bug libc/5145] " macro at linux-mips dot org
  2007-10-09  3:58 ` drepper at redhat dot com
@ 2008-11-26 23:29 ` drepper at redhat dot com
  2010-05-04  2:23 ` mattst88 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2008-11-26 23:29 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-11-26 23:28 -------
Alpha is not in the main tree anymore since we have no maintainer.  Somebody has
to step up and volunteer to be the maintainer of the alpha ports tree or nothing
will happen.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|rth at gcc dot gnu dot org  |roland at gnu dot org
             Status|ASSIGNED                    |NEW
          Component|libc                        |ports


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

------- 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] 5+ messages in thread

* [Bug ports/5145] alpha: Fix up NBPG in <sys/user.h>
  2007-10-08 12:30 [Bug libc/5145] New: alpha: Fix up NBPG in <sys/user.h> macro at linux-mips dot org
                   ` (2 preceding siblings ...)
  2008-11-26 23:29 ` [Bug ports/5145] " drepper at redhat dot com
@ 2010-05-04  2:23 ` mattst88 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mattst88 at gmail dot com @ 2010-05-04  2:23 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From mattst88 at gmail dot com  2010-05-04 02:22 -------
Richard Henderson fixed this in commit 6546e0c4997c8 to glibc-ports.git. Marking
as fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

------- 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] 5+ messages in thread

end of thread, other threads:[~2010-05-04  2:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08 12:30 [Bug libc/5145] New: alpha: Fix up NBPG in <sys/user.h> macro at linux-mips dot org
2007-10-08 12:34 ` [Bug libc/5145] " macro at linux-mips dot org
2007-10-09  3:58 ` drepper at redhat dot com
2008-11-26 23:29 ` [Bug ports/5145] " drepper at redhat dot com
2010-05-04  2:23 ` mattst88 at gmail 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).