public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11155] fstat broken on sparc64
       [not found] <bug-11155-131@http.sourceware.org/bugzilla/>
@ 2010-12-23 14:32 ` davem at davemloft dot net
  2011-01-04 20:27 ` davem at davemloft dot net
  2014-06-30 20:25 ` fweimer at redhat dot com
  2 siblings, 0 replies; 7+ messages in thread
From: davem at davemloft dot net @ 2010-12-23 14:32 UTC (permalink / raw)
  To: glibc-bugs

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

David S. Miller <davem at davemloft dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davem at davemloft dot net
         AssignedTo|jakub at redhat dot com     |davem at davemloft dot net

--- Comment #4 from David S. Miller <davem at davemloft dot net> 2010-12-22 19:54:54 UTC ---
I plan to check this fix in, just as soon as I can get a successful
sparc64 build of the current tree.  It currently crashes when running
the rpc programs.

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

* [Bug libc/11155] fstat broken on sparc64
       [not found] <bug-11155-131@http.sourceware.org/bugzilla/>
  2010-12-23 14:32 ` [Bug libc/11155] fstat broken on sparc64 davem at davemloft dot net
@ 2011-01-04 20:27 ` davem at davemloft dot net
  2014-06-30 20:25 ` fweimer at redhat dot com
  2 siblings, 0 replies; 7+ messages in thread
From: davem at davemloft dot net @ 2011-01-04 20:27 UTC (permalink / raw)
  To: glibc-bugs

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

David S. Miller <davem at davemloft dot net> changed:

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

--- Comment #5 from David S. Miller <davem at davemloft dot net> 2011-01-04 20:27:02 UTC ---
Fix committed to mainline.

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

* [Bug libc/11155] fstat broken on sparc64
       [not found] <bug-11155-131@http.sourceware.org/bugzilla/>
  2010-12-23 14:32 ` [Bug libc/11155] fstat broken on sparc64 davem at davemloft dot net
  2011-01-04 20:27 ` davem at davemloft dot net
@ 2014-06-30 20:25 ` fweimer at redhat dot com
  2 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30 20:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=11155

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/11155] fstat broken on sparc64
  2010-01-09 16:09 [Bug libc/11155] New: " hideaki at sogetthis dot com
                   ` (2 preceding siblings ...)
  2010-01-15  7:33 ` drepper at redhat dot com
@ 2010-06-27 15:41 ` jengelh at gmx dot de
  3 siblings, 0 replies; 7+ messages in thread
From: jengelh at gmx dot de @ 2010-06-27 15:41 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jengelh at gmx dot de  2010-06-27 15:41 -------
So is this ever going to be fixed?

-- 


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

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

* [Bug libc/11155] fstat broken on sparc64
  2010-01-09 16:09 [Bug libc/11155] New: " hideaki at sogetthis dot com
  2010-01-09 16:11 ` [Bug libc/11155] " hideaki at sogetthis dot com
  2010-01-10 23:17 ` hideaki at sogetthis dot com
@ 2010-01-15  7:33 ` drepper at redhat dot com
  2010-06-27 15:41 ` jengelh at gmx dot de
  3 siblings, 0 replies; 7+ messages in thread
From: drepper at redhat dot com @ 2010-01-15  7:33 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=11155

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

* [Bug libc/11155] fstat broken on sparc64
  2010-01-09 16:09 [Bug libc/11155] New: " hideaki at sogetthis dot com
  2010-01-09 16:11 ` [Bug libc/11155] " hideaki at sogetthis dot com
@ 2010-01-10 23:17 ` hideaki at sogetthis dot com
  2010-01-15  7:33 ` drepper at redhat dot com
  2010-06-27 15:41 ` jengelh at gmx dot de
  3 siblings, 0 replies; 7+ messages in thread
From: hideaki at sogetthis dot com @ 2010-01-10 23:17 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From hideaki at sogetthis dot com  2010-01-10 23:17 -------
This trivial patch fixes it.

Index: glibc-2.10.1/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
===================================================================
--- glibc-2.10.1.orig/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
+++ glibc-2.10.1/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
@@ -1 +1 @@
-#include "../../fxstat.c"
+#include "../../i386/fxstat.c"


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jengelh at gmx dot de


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

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

* [Bug libc/11155] fstat broken on sparc64
  2010-01-09 16:09 [Bug libc/11155] New: " hideaki at sogetthis dot com
@ 2010-01-09 16:11 ` hideaki at sogetthis dot com
  2010-01-10 23:17 ` hideaki at sogetthis dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: hideaki at sogetthis dot com @ 2010-01-09 16:11 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From hideaki at sogetthis dot com  2010-01-09 16:11 -------
Created an attachment (id=4505)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4505&action=view)
test case

Compile this with -m64. You should observe:

1260745109.876573675
1260745109.000000000

When compiled with -static, objdump prints (for -m32):

0001d720 <fstat64>:
   1d720:	94 10 00 09	mov  %o1, %o2
   1d724:	92 10 00 08	mov  %o0, %o1
   1d728:	90 10 20 03	mov  3, %o0
   1d72c:	82 13 c0 00	mov  %o7, %g1
   1d730:	10 80 00 0c	b  1d760 <___fxstat64>

While with -m64:

000000000010d9c0 <fstat64>:
  10d9c0:	94 10 00 09	mov  %o1, %o2
  10d9c4:	92 10 00 08	mov  %o0, %o1
  10d9c8:	90 10 20 03	mov  3, %o0
  10d9cc:	82 13 c0 00	mov  %o7, %g1
  10d9d0:	10 68 00 0c	b  %xcc, 10da00 <__fxstat>

So __fxstat64 is not called in 64-bit mode. This looks like a glibc bug to me.

-- 


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

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

end of thread, other threads:[~2014-06-30 20:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11155-131@http.sourceware.org/bugzilla/>
2010-12-23 14:32 ` [Bug libc/11155] fstat broken on sparc64 davem at davemloft dot net
2011-01-04 20:27 ` davem at davemloft dot net
2014-06-30 20:25 ` fweimer at redhat dot com
2010-01-09 16:09 [Bug libc/11155] New: " hideaki at sogetthis dot com
2010-01-09 16:11 ` [Bug libc/11155] " hideaki at sogetthis dot com
2010-01-10 23:17 ` hideaki at sogetthis dot com
2010-01-15  7:33 ` drepper at redhat dot com
2010-06-27 15:41 ` jengelh at gmx dot de

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