public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hideaki at sogetthis dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/11155] fstat broken on sparc64
Date: Sat, 09 Jan 2010 16:11:00 -0000	[thread overview]
Message-ID: <20100109161120.3726.qmail@sourceware.org> (raw)
In-Reply-To: <20100109160855.11155.hideaki@sogetthis.com>


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


  reply	other threads:[~2010-01-09 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09 16:09 [Bug libc/11155] New: " hideaki at sogetthis dot com
2010-01-09 16:11 ` hideaki at sogetthis dot com [this message]
2010-01-10 23:17 ` [Bug libc/11155] " 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
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100109161120.3726.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).