Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 7 May 2012 17:02:51 -0400
From: Rich Felker <>
Subject: Re: Error compiling with clang

On Mon, May 07, 2012 at 10:13:06PM +0200, Truls Becken wrote:
> Hi,
> 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?

fistpl writes a 32-bit integer. This function needs a 64-bit integer
result. I'm pretty sure clang is just wrong here, but if there's an
alternate mnemonic for fistpq that works on clang and gcc/gas I'd be
happy to change it.

In the mean time, you can just remove that .s file so the C code gets


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.