From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30750 invoked by alias); 12 Apr 2010 20:03:01 -0000 Received: (qmail 27215 invoked by uid 48); 12 Apr 2010 20:02:44 -0000 Date: Mon, 12 Apr 2010 20:03:00 -0000 Message-ID: <20100412200244.27203.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/43733] bootstrap fails building libgfortran on Solaris x86 with GNU as In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg01227.txt.bz2 ------- Comment #17 from ubizjak at gmail dot com 2010-04-12 20:02 ------- (In reply to comment #15) > GNU as 2.15 doesn't believe you :-) > > $ echo sahf > test.s > $ /usr/sfw/bin/gas test.s > $ /usr/sfw/bin/gas --64 test.s > test.s: Assembler messages: > test.s:1: Error: suffix or operands invalid for `sahf' Well - dear GNU as 2.15 - sahf doesn't have any operands. ;) This looks like a bug in binutils 2.15, because otherwise: $ as --64 tt.s tt.s: Assembler messages: tt.s:1: Error: no such instruction: `evil_nonexistent_insn' OTOH, the patch from comment #16 is a bad idea, it will cripple non-GAS assemblers (and as discussed elsewhere, it isn't effective for solaris anyway). I'd suggest you just upgrade your binutils... -march=core2 switches -mssse3 and 2.15 will be immediately out of luck for any vectorized code due to the usage of SSSE3 permute insns. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43733