public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/55390] New: [4.8 Regression] Error when building with -mfpmath=sse
@ 2012-11-19 10:32 d.g.gorbachev at gmail dot com
  2012-11-19 11:03 ` [Bug target/55390] " jakub at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-11-19 10:32 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55390

             Bug #: 55390
           Summary: [4.8 Regression] Error when building with -mfpmath=sse
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


If I build GCC having -march=pentium4 -mfpmath=sse in CFLAGS_FOR_TARGET, it
fails with the following error:

../../../gcc-4.8/libatomic/load_n.c:1:0: error: SSE instruction set disabled,
using 387 arithmetics [-Werror]

because -march=i586 appended in the makefile. It should also add -mfpmath=387
then.


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

* [Bug target/55390] [4.8 Regression] Error when building with -mfpmath=sse
  2012-11-19 10:32 [Bug target/55390] New: [4.8 Regression] Error when building with -mfpmath=sse d.g.gorbachev at gmail dot com
@ 2012-11-19 11:03 ` jakub at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-19 11:03 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55390

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-19 11:03:02 UTC ---
No, I'd say it is a user error and you should build with -msse2 -mfpmath=sse2
explicitly in the CFLAGS*.  Whatever place is passing -march=i486 or
-march=i586 can't guess what you added to CFLAGS, and -mfpmath=387 isn't always
the right thing.


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

end of thread, other threads:[~2012-11-19 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 10:32 [Bug target/55390] New: [4.8 Regression] Error when building with -mfpmath=sse d.g.gorbachev at gmail dot com
2012-11-19 11:03 ` [Bug target/55390] " jakub at gcc dot gnu.org

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