[cfe-dev] cmus compiled with clang crashes with sigill
Chris Lattner
clattner at apple.com
Thu Jun 25 09:18:08 PDT 2009
On Jun 25, 2009, at 1:32 AM, Gregory Petrosyan wrote:
>>> Program received signal SIGILL, Illegal instruction.
>>> (gdb) disassemble $pc $pc+1
>>> Dump of assembler code from 0x8061233 to 0x8061234:
>>> 0x08061233 <set_replaygain_preamp+51>: movsd -0x10(%ebp),%xmm0
>>> End of assembler dump.
>> [snip]
>>
>> Does your processor support SSE2? If not, there's a bug in the CPU
>> selection code.
>>
>
> This has happened on AMD Duron, which AFAIK only supports SSE, not
> SSE2.
This is probably because clang defaults to SSE2. Try passing -
mcpu=athlon-xp to clang.
-Chris
More information about the cfe-dev
mailing list