[Bug libfortran/54097] configure: error: GNU Fortran is not working (CPU you selected does not support x86-64 instruction set)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 25 23:12:00 GMT 2012


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-25 23:11:53 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Simple answer don't use "-march=i686" in any of the *C*FLAGS env variables.
> 
> Why is that? I thought -march=i686 was supposed to produce i686 compatible code
> (i.e., 32-bit).

Because you have it set for the target libraries too which is incorrect in this
case as you are creating a 64bit target library.



More information about the Gcc-bugs mailing list