public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27600] New: <stdlib.h> doesn't work with -mno-sse -O
@ 2021-03-18  0:47 hjl.tools at gmail dot com
  2021-03-18  9:20 ` [Bug libc/27600] " schwab@linux-m68k.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2021-03-18  0:47 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27600
           Summary: <stdlib.h> doesn't work with -mno-sse -O
           Product: glibc
           Version: 2.34
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: x86-64

[hjl@gnu-cfl-2 tmp]$ cat x.c
#include <stdlib.h>
[hjl@gnu-cfl-2 tmp]$ gcc -S -mno-sse x.c
[hjl@gnu-cfl-2 tmp]$ gcc -S -mno-sse x.c -O
In file included from /usr/include/stdlib.h:1014,
                 from x.c:1:
/usr/include/bits/stdlib-float.h: In function ‘atof’:
/usr/include/bits/stdlib-float.h:26:1: error: SSE register return with SSE
disabled
   26 | {
      | ^
[hjl@gnu-cfl-2 tmp]$

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

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

* [Bug libc/27600] <stdlib.h> doesn't work with -mno-sse -O
  2021-03-18  0:47 [Bug libc/27600] New: <stdlib.h> doesn't work with -mno-sse -O hjl.tools at gmail dot com
@ 2021-03-18  9:20 ` schwab@linux-m68k.org
  2021-03-18 19:53 ` hjl.tools at gmail dot com
  2021-03-23 19:40 ` hjl.tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2021-03-18  9:20 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Does -mno-sse actually make sense with x86-64 as SSE is a required part of the
ABI?  I think this is a GCC bug.

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

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

* [Bug libc/27600] <stdlib.h> doesn't work with -mno-sse -O
  2021-03-18  0:47 [Bug libc/27600] New: <stdlib.h> doesn't work with -mno-sse -O hjl.tools at gmail dot com
  2021-03-18  9:20 ` [Bug libc/27600] " schwab@linux-m68k.org
@ 2021-03-18 19:53 ` hjl.tools at gmail dot com
  2021-03-23 19:40 ` hjl.tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2021-03-18 19:53 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=99652

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
GCC bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652

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

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

* [Bug libc/27600] <stdlib.h> doesn't work with -mno-sse -O
  2021-03-18  0:47 [Bug libc/27600] New: <stdlib.h> doesn't work with -mno-sse -O hjl.tools at gmail dot com
  2021-03-18  9:20 ` [Bug libc/27600] " schwab@linux-m68k.org
  2021-03-18 19:53 ` hjl.tools at gmail dot com
@ 2021-03-23 19:40 ` hjl.tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2021-03-23 19:40 UTC (permalink / raw)
  To: glibc-bugs

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

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

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 11.

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

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

end of thread, other threads:[~2021-03-23 19:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18  0:47 [Bug libc/27600] New: <stdlib.h> doesn't work with -mno-sse -O hjl.tools at gmail dot com
2021-03-18  9:20 ` [Bug libc/27600] " schwab@linux-m68k.org
2021-03-18 19:53 ` hjl.tools at gmail dot com
2021-03-23 19:40 ` hjl.tools 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).