Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120507210514.GD17860@port70.net>
Date: Mon, 7 May 2012 23:05:15 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Error compiling with clang

* Truls Becken <truls.becken@...il.com> [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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.