From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/807 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Error compiling with clang Date: Mon, 7 May 2012 23:05:15 +0200 Message-ID: <20120507210514.GD17860@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1336424729 31297 80.91.229.3 (7 May 2012 21:05:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 May 2012 21:05:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-808-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 07 23:05:29 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SRV7Z-00020F-2r for gllmg-musl@plane.gmane.org; Mon, 07 May 2012 23:05:29 +0200 Original-Received: (qmail 23629 invoked by uid 550); 7 May 2012 21:05:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 23617 invoked from network); 7 May 2012 21:05:28 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:807 Archived-At: * Truls Becken [2012-05-07 22:13:06 +0200]: > Compiling musl 0.9.0 with clang 3.0 gives me the following: > > src/math/i386/llrint.s:5:2: error: invalid instruction mnemonic 'fistpq' > > Changing fistpq back to fistpl in the 3 llrint files makes it compile. > Is this a bug in clang? How should it be resolved? > in llrint you need the 64 bit int store instruction not the 32 bit one it's either a bug in your as or clang (although these instruction mnemonics are not documented) here gnu as recognizes fistpq