public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42365]  New: -march=native -mfpmath=sse leads to bootstrap failure
@ 2009-12-14  5:51 linuxl4 at sohu dot com
  2009-12-14  5:52 ` [Bug bootstrap/42365] " linuxl4 at sohu dot com
  2009-12-14 11:03 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: linuxl4 at sohu dot com @ 2009-12-14  5:51 UTC (permalink / raw)
  To: gcc-bugs

My cpu is an amd athlon II 240 and My CFLAGS is " -O3 -pipe -march=sse
-mfpmath=sse -mveclibabi=svml", All went ok until compile libgomp multilib 32
bit.

the compiling message is : 
/bin/sh ./libtool --tag=CC   --mode=compile /home/xhs/build/gcc/./gcc/xgcc
-B/home/xhs/build/gcc/./gcc/ -B/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/bin/
-B/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/lib/ -isystem
/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/include -isystem
/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/sys-include  -m32 -DHAVE_CONFIG_H -I.
-I/svn/compilers/gcc/libgomp  -I/svn/compilers/gcc/libgomp/config/linux/x86
-I/svn/compilers/gcc/libgomp/config/linux
-I/svn/compilers/gcc/libgomp/config/posix -I/svn/compilers/gcc/libgomp  -Wall
-Werror -ftls-model=initial-exec -march=i486 -mtune=i686 -Wc,-pthread
-march=native -mfpmath=sse -mveclibabi=svml -pipe -O3  -pthread  -m32 -MT
alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo
/svn/compilers/gcc/libgomp/alloc.c
libtool: compile:  /home/xhs/build/gcc/./gcc/xgcc -B/home/xhs/build/gcc/./gcc/
-B/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/bin/
-B/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/lib/ -isystem
/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/include -isystem
/gcc-4.5/gcc-4.5/x86_64-unknown-linux-gnu/sys-include -m32 -DHAVE_CONFIG_H -I.
-I/svn/compilers/gcc/libgomp -I/svn/compilers/gcc/libgomp/config/linux/x86
-I/svn/compilers/gcc/libgomp/config/linux
-I/svn/compilers/gcc/libgomp/config/posix -I/svn/compilers/gcc/libgomp -Wall
-Werror -ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -march=native
-mfpmath=sse -mveclibabi=svml -pipe -O3 -pthread -m32 -MT alloc.lo -MD -MP -MF
.deps/alloc.Tpo -c /svn/compilers/gcc/libgomp/alloc.c  -fPIC -DPIC -o
.libs/alloc.o

and the error message Is
cc1: warnings being treated as errors
/svn/compilers/gcc/libgomp/alloc.c:1:0: error: SSE instruction set disabled,
using 387 arithmetics
make[6]: *** [alloc.lo] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [multi-do] Error 1
make[2]: *** [all-multi] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It seems that Makefile added a "-march=i486 -pthread -mtune=i686" option which
leads to bootstrap error.


-- 
           Summary: -march=native -mfpmath=sse leads to bootstrap failure
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: linuxl4 at sohu dot com
 GCC build triplet: amd64_Linux
  GCC host triplet: amd64_Linux
GCC target triplet: amd64_Linux


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


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

* [Bug bootstrap/42365] -march=native -mfpmath=sse leads to bootstrap failure
  2009-12-14  5:51 [Bug bootstrap/42365] New: -march=native -mfpmath=sse leads to bootstrap failure linuxl4 at sohu dot com
@ 2009-12-14  5:52 ` linuxl4 at sohu dot com
  2009-12-14 11:03 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: linuxl4 at sohu dot com @ 2009-12-14  5:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from linuxl4 at sohu dot com  2009-12-14 05:52 -------
Sorry, My CFLAGS is " My CFLAGS is " -O3 -pipe -march=native
-mfpmath=sse -mveclibabi=svml"


-- 

linuxl4 at sohu dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-march=native -mfpmath=sse  |-march=native -mfpmath=sse
                   |leads to bootstrap failure  |leads to bootstrap failure


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


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

* [Bug bootstrap/42365] -march=native -mfpmath=sse leads to bootstrap failure
  2009-12-14  5:51 [Bug bootstrap/42365] New: -march=native -mfpmath=sse leads to bootstrap failure linuxl4 at sohu dot com
  2009-12-14  5:52 ` [Bug bootstrap/42365] " linuxl4 at sohu dot com
@ 2009-12-14 11:03 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-14 11:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-12-14 11:03 -------
Add -msse2.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2009-12-14 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-14  5:51 [Bug bootstrap/42365] New: -march=native -mfpmath=sse leads to bootstrap failure linuxl4 at sohu dot com
2009-12-14  5:52 ` [Bug bootstrap/42365] " linuxl4 at sohu dot com
2009-12-14 11:03 ` rguenth at gcc dot gnu dot 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).