[Bug rtl-optimization/43477] -march=k8-sse3 on turion-rm75 failed

2010-03-31 Thread aflyhorse at foxmail dot com


--- Comment #5 from aflyhorse at foxmail dot com  2010-04-01 01:04 ---
Failed to build with sse3, i surrounded...


-- 

aflyhorse at foxmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME


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



[Bug rtl-optimization/43477] -march=k8-sse3 on turion-rm75 failed

2010-03-23 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-03-23 10:24 ---
We need a testcase to reproduce the bug (preprocessed source).  You also
might want to try removing -mcmodel=large (you really shouldn't need that).


-- 


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



[Bug rtl-optimization/43477] -march=k8-sse3 on turion-rm75 failed

2010-03-23 Thread aflyhorse at foxmail dot com


--- Comment #3 from aflyhorse at foxmail dot com  2010-03-23 16:30 ---
(In reply to comment #2)
 We need a testcase to reproduce the bug (preprocessed source).  You also
 might want to try removing -mcmodel=large (you really shouldn't need that).

I've tryed to remove all newly added optimize option seperately, and only
remove the -mcmodel doesn't work. The resolving way is to remove all the
options concerning sse3 (including -march=k8-sse3 -mtune=k8-sse3
-Wa,march=k8+sse3;  use -march=k8 and -nsse3 produce the same error).

I am building binutils (SVN 20100317) at that time. I have tried various way of
CCFLAGS struggling to avoid this problem.

In addition, file:
/libcpp/files.c: Line 609-614:
comparison is always false under win x64

and

/gcc/emit-rtl.c: Line 361:
/gcc/ggc-common.c: Line 310:
/gcc/graphite-dependences.c: Line 107:
/gcc/src/gcc/ira-conflicts.c: Line 125:
/gcc/src/gcc/pointer-set.c: Line 67:
/gcc/src/gcc/tree dump: Line 168:
/gcc/src/gcc/cp/class.c: Line 6740, 6742, 6764, 6767, 6900:

all have host-dependent code such as explictly cast a pointer to long (in win
x64 means long long to long) and use %ld or lx to fprintf a pointer.

they cause the cc1 treat warnings as error and stop the make procedure, though
they are easy to fix manually but quite annoying while making bootstrap.

(These are gcc 4.5.0 20100322 version source)


-- 


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



[Bug rtl-optimization/43477] -march=k8-sse3 on turion-rm75 failed

2010-03-23 Thread aflyhorse at foxmail dot com


--- Comment #4 from aflyhorse at foxmail dot com  2010-03-24 00:26 ---
Hmmm... i don't know if it is useful to give you the configure option i did at
that time... Happy i have a habit of recording every command i used during
installation:

$ ../src/configure --build=x86_64-w64-mingw32
--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32 --disable-shared
--enable-static --disable-nls --with-mpc=/local --with-gmp=/local
--with-mpfr=/local --with-ppl=/local --with-cloog=/local --prefix=/mingw64
--with-sysroot=/mingw64 CFLAGS=-march=k8-sse3 -mfpmath=sse -m64 -mthreads
-minline-stringops-dynamically -mcmodel=large -Wa,-march=k8+sse3 LDFLAGS=-s
-Wl,--as-needed

maybe it's not gcc's fault because the libc mingw-w64 migrated is so old...


-- 


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



[Bug rtl-optimization/43477] -march=k8-sse3 on turion-rm75 failed

2010-03-22 Thread aflyhorse at foxmail dot com


--- Comment #1 from aflyhorse at foxmail dot com  2010-03-22 15:08 ---
in additional, i'm using the 20100317 version of gcc 4.5.0 and binutils 2.20.51


-- 


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