public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12318] New: i686 glibc is miscompiled
@ 2010-12-14 15:38 hjl.tools at gmail dot com
  2010-12-14 15:53 ` [Bug libc/12318] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-14 15:38 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: i686 glibc is miscompiled
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: hjl.tools@gmail.com
                CC: jakub@redhat.com


On Fedora 14/i686, commit 42acbb92c861e97a6e1293ea853db88342a1bf53:

http://sourceware.org/git/?p=glibc.git;a=commit;h=42acbb92c861e97a6e1293ea853db88342a1bf53

miscompiled glibc. I got

CPP='gcc -m32 -E -x c-header' 
/export/build/gnu/glibc/build-i686-linux/elf/ld-linux.so.2 --library-path
/export/build/gnu/glibc/build-i686-linux:/export/build/gnu/glibc/build-i686-linux/math:/export/build/gnu/glibc/build-i686-linux/elf:/export/build/gnu/glibc/build-i686-linux/dlfcn:/export/build/gnu/glibc/build-i686-linux/nss:/export/build/gnu/glibc/build-i686-linux/nis:/export/build/gnu/glibc/build-i686-linux/rt:/export/build/gnu/glibc/build-i686-linux/resolv:/export/build/gnu/glibc/build-i686-linux/crypt:/export/build/gnu/glibc/build-i686-linux/nptl
/export/build/gnu/glibc/build-i686-linux/sunrpc/rpcgen -Y ../scripts -h
rpcsvc/rstat.x -o
/export/build/gnu/glibc/build-i686-linux/sunrpc/rpcsvc/rstat.T
make[3]: ***
[/export/build/gnu/glibc/build-i686-linux/sunrpc/rpcsvc/rstat.stmp] Illegal
instruction 

I am using gcc-4.5.1-4.fc14.i686.

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

* [Bug libc/12318] i686 glibc is miscompiled
  2010-12-14 15:38 [Bug libc/12318] New: i686 glibc is miscompiled hjl.tools at gmail dot com
@ 2010-12-14 15:53 ` hjl.tools at gmail dot com
  2010-12-14 19:03 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-14 15:53 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-14 15:37:59 UTC ---
My machine has

flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe nx lm constant_tsc pebs
bts pni dtes64 monitor ds_cpl vmx cid cx16 xtpr pdcm lahf_lm tpr_shadow

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

* [Bug libc/12318] i686 glibc is miscompiled
  2010-12-14 15:38 [Bug libc/12318] New: i686 glibc is miscompiled hjl.tools at gmail dot com
  2010-12-14 15:53 ` [Bug libc/12318] " hjl.tools at gmail dot com
@ 2010-12-14 19:03 ` hjl.tools at gmail dot com
  2010-12-15  3:44 ` hjl.tools at gmail dot com
  2014-06-30  6:20 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-14 19:03 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-14 15:52:48 UTC ---
Typo:

diff --git a/sysdeps/i386/i686/multiarch/strcmp.S
b/sysdeps/i386/i686/multiarch/strcmp.S
index 8724594..b08fd08 100644
--- a/sysdeps/i386/i686/multiarch/strcmp.S
+++ b/sysdeps/i386/i686/multiarch/strcmp.S
@@ -64,7 +64,7 @@ ENTRY(STRCMP)
     leal    __STRCMP_SSSE3@GOTOFF(%edx), %eax
     testl    $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features@GOTOFF(%edx)
     jnz    2f
-    leal    __STRCMP_IA32@GOTOFF(%edx), %ecx
+    leal    __STRCMP_IA32@GOTOFF(%edx), %eax
 2:    ret
 END(STRCMP)
 # else

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

* [Bug libc/12318] i686 glibc is miscompiled
  2010-12-14 15:38 [Bug libc/12318] New: i686 glibc is miscompiled hjl.tools at gmail dot com
  2010-12-14 15:53 ` [Bug libc/12318] " hjl.tools at gmail dot com
  2010-12-14 19:03 ` hjl.tools at gmail dot com
@ 2010-12-15  3:44 ` hjl.tools at gmail dot com
  2014-06-30  6:20 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-15  3:44 UTC (permalink / raw)
  To: glibc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-14 19:03:26 UTC ---
Fixed by commit 283007197c526f8f59bdc029a38d76538c70b0ff:

http://sourceware.org/git/?p=glibc.git;a=commit;h=283007197c526f8f59bdc029a38d76538c70b0ff

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

* [Bug libc/12318] i686 glibc is miscompiled
  2010-12-14 15:38 [Bug libc/12318] New: i686 glibc is miscompiled hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-12-15  3:44 ` hjl.tools at gmail dot com
@ 2014-06-30  6:20 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30  6:20 UTC (permalink / raw)
  To: glibc-bugs

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

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14 15:38 [Bug libc/12318] New: i686 glibc is miscompiled hjl.tools at gmail dot com
2010-12-14 15:53 ` [Bug libc/12318] " hjl.tools at gmail dot com
2010-12-14 19:03 ` hjl.tools at gmail dot com
2010-12-15  3:44 ` hjl.tools at gmail dot com
2014-06-30  6:20 ` fweimer 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).