------- Comment #24 from ubizjak at gmail dot com 2010-05-19 06:47 ------- Can you try this patch:
Index: configure.ac =================================================================== --- configure.ac (revision 159481) +++ configure.ac (working copy) @@ -3254,9 +3254,10 @@ gcc_GAS_CHECK_FEATURE([sahf mnemonic], gcc_cv_as_ix86_sahf,,, - [sahf],, + [.code64 + sahf],, [AC_DEFINE(HAVE_AS_IX86_SAHF, 1, - [Define if your assembler supports the sahf mnemonic.])]) + [Define if your assembler supports the sahf mnemonic in 64bit mode.])]) gcc_GAS_CHECK_FEATURE([swap suffix], gcc_cv_as_ix86_swap,,, -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43733