public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4
@ 2005-06-20 17:25 macro at linux-mips dot org
  2005-06-20 17:28 ` [Bug libc/1026] " macro at linux-mips dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: macro at linux-mips dot org @ 2005-06-20 17:25 UTC (permalink / raw)
  To: glibc-bugs

As advised by Ulrich Drepper I'm putting this report for you to resolve
when possible.

  The Alpha/Linux port requires *stat64 calls for building
sysdeps/unix/sysv/linux/alpha/*xstat.c, but they have only been introduced
in Linux 2.6.4.  The attached patch fixes the problem by only using these
calls if their numbers are provided by the set of Linux headers used for
the build.

2005-06-20  Maciej W. Rozycki  <macro@linux-mips.org>

	* sysdeps/unix/sysv/linux/alpha/fxstat.c (__fxstat): Exclude code
	for calling the fstat64() syscall if its number is unavailable.
	* sysdeps/unix/sysv/linux/alpha/lxstat.c (__lxstat): Likewise for 
	lstat64().
	* sysdeps/unix/sysv/linux/alpha/xstat.c (__xstat): Likewise for
	stat64().

 Please consider -- for HEAD.

 See also "http://sourceware.org/ml/libc-alpha/2005-06/msg00042.html" and
the containing thread.

-- 
           Summary: Build failure for *xstat.c for Linux headers < 2.6.4
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: rth at redhat dot com
        ReportedBy: macro at linux-mips dot org
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: alpha-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
@ 2005-06-20 17:28 ` macro at linux-mips dot org
  2006-03-14  6:14 ` vapier at gentoo dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: macro at linux-mips dot org @ 2005-06-20 17:28 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From macro at linux-mips dot org  2005-06-20 17:28 -------
Created an attachment (id=523)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=523&action=view)
glibc-2.3.5-alpha-xstat64.patch


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
  2005-06-20 17:28 ` [Bug libc/1026] " macro at linux-mips dot org
@ 2006-03-14  6:14 ` vapier at gentoo dot org
  2006-03-15  2:49 ` vapier at gentoo dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: vapier at gentoo dot org @ 2006-03-14  6:14 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From vapier at gentoo dot org  2006-03-14 06:14 -------
mmm i'm pretty sure GOTO's patch is more correct:
http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
  2005-06-20 17:28 ` [Bug libc/1026] " macro at linux-mips dot org
  2006-03-14  6:14 ` vapier at gentoo dot org
@ 2006-03-15  2:49 ` vapier at gentoo dot org
  2006-03-15  2:51 ` vapier at gentoo dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: vapier at gentoo dot org @ 2006-03-15  2:49 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gotom at debian dot or dot
                   |                            |jp


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (2 preceding siblings ...)
  2006-03-15  2:49 ` vapier at gentoo dot org
@ 2006-03-15  2:51 ` vapier at gentoo dot org
  2006-03-15  5:44 ` gotom at debian dot or dot jp
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: vapier at gentoo dot org @ 2006-03-15  2:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From vapier at gentoo dot org  2006-03-15 02:51 -------
Created an attachment (id=920)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=920&action=view)
6001_all_alpha-glibc-2.4-xstat.patch

trunk has a new file that also needs to be updated:
sysdeps/unix/sysv/linux/alpha/fxstatat.c

-- 


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (3 preceding siblings ...)
  2006-03-15  2:51 ` vapier at gentoo dot org
@ 2006-03-15  5:44 ` gotom at debian dot or dot jp
  2006-03-15  5:49 ` vapier at gentoo dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gotom at debian dot or dot jp @ 2006-03-15  5:44 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2006-03-15 05:44 -------
Thanks for your submission.  This patch works more than one year with
Debian alpha platforms.  I'm happy if it'll be integrated in mainline.
Maciej, Richard, could you review it?

-- 


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (4 preceding siblings ...)
  2006-03-15  5:44 ` gotom at debian dot or dot jp
@ 2006-03-15  5:49 ` vapier at gentoo dot org
  2006-03-17 14:56 ` macro at linux-mips dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: vapier at gentoo dot org @ 2006-03-15  5:49 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From vapier at gentoo dot org  2006-03-15 05:49 -------
> This patch works more than one year with Debian alpha platforms.

yeah, we've need it for Gentoo/alpha too

-- 


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (5 preceding siblings ...)
  2006-03-15  5:49 ` vapier at gentoo dot org
@ 2006-03-17 14:56 ` macro at linux-mips dot org
  2006-03-17 15:02 ` vapier at gentoo dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: macro at linux-mips dot org @ 2006-03-17 14:56 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From macro at linux-mips dot org  2006-03-17 14:56 -------
 Well, it looks like the resulting library won't work correctly if built
against headers from Linux 2.6.4 or later and run on an earlier kernel.

-- 


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (6 preceding siblings ...)
  2006-03-17 14:56 ` macro at linux-mips dot org
@ 2006-03-17 15:02 ` vapier at gentoo dot org
  2006-03-17 15:15 ` macro at linux-mips dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: vapier at gentoo dot org @ 2006-03-17 15:02 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From vapier at gentoo dot org  2006-03-17 15:02 -------
isnt that the point ?  glibc isnt supposed to work on any kernel lower than what
was passed to --enable-kernel at build time ...

-- 


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

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

* [Bug libc/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (7 preceding siblings ...)
  2006-03-17 15:02 ` vapier at gentoo dot org
@ 2006-03-17 15:15 ` macro at linux-mips dot org
  2008-11-26 23:27 ` [Bug ports/1026] " drepper at redhat dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: macro at linux-mips dot org @ 2006-03-17 15:15 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From macro at linux-mips dot org  2006-03-17 15:15 -------
 It's not about what's been passed to --enable-kernel if at all, but
about what kernel headers are used for the build.  In this particular
case the option wasn't used.

-- 


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

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

* [Bug ports/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (8 preceding siblings ...)
  2006-03-17 15:15 ` macro at linux-mips dot org
@ 2008-11-26 23:27 ` drepper at redhat dot com
  2010-05-04 17:12 ` mattst88 at gmail dot com
  2010-05-06 15:12 ` gotom at debian dot or dot jp
  11 siblings, 0 replies; 13+ messages in thread
From: drepper at redhat dot com @ 2008-11-26 23:27 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-11-26 23:25 -------
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 redhat dot com       |roland at gnu dot org
          Component|libc                        |ports


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

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

* [Bug ports/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (9 preceding siblings ...)
  2008-11-26 23:27 ` [Bug ports/1026] " drepper at redhat dot com
@ 2010-05-04 17:12 ` mattst88 at gmail dot com
  2010-05-06 15:12 ` gotom at debian dot or dot jp
  11 siblings, 0 replies; 13+ messages in thread
From: mattst88 at gmail dot com @ 2010-05-04 17:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From mattst88 at gmail dot com  2010-05-04 17:12 -------
Richard Henderson committed GOTO Masanori's fix in commit 6a84c77c71 to
glibc-ports.git. Marking as fixed.

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


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

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

* [Bug ports/1026] Build failure for *xstat.c for Linux headers < 2.6.4
  2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
                   ` (10 preceding siblings ...)
  2010-05-04 17:12 ` mattst88 at gmail dot com
@ 2010-05-06 15:12 ` gotom at debian dot or dot jp
  11 siblings, 0 replies; 13+ messages in thread
From: gotom at debian dot or dot jp @ 2010-05-06 15:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2010-05-06 15:11 -------
Thanks a lot, Matt and Richard!

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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

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

end of thread, other threads:[~2010-05-06 15:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-20 17:25 [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4 macro at linux-mips dot org
2005-06-20 17:28 ` [Bug libc/1026] " macro at linux-mips dot org
2006-03-14  6:14 ` vapier at gentoo dot org
2006-03-15  2:49 ` vapier at gentoo dot org
2006-03-15  2:51 ` vapier at gentoo dot org
2006-03-15  5:44 ` gotom at debian dot or dot jp
2006-03-15  5:49 ` vapier at gentoo dot org
2006-03-17 14:56 ` macro at linux-mips dot org
2006-03-17 15:02 ` vapier at gentoo dot org
2006-03-17 15:15 ` macro at linux-mips dot org
2008-11-26 23:27 ` [Bug ports/1026] " drepper at redhat dot com
2010-05-04 17:12 ` mattst88 at gmail dot com
2010-05-06 15:12 ` gotom at debian dot or dot jp

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).