This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43733] bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2010 06:47:24 -0000
- Subject: [Bug bootstrap/43733] bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2
- References: <bug-43733-16379@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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