[cfe-dev] cmus compiled with clang crashes with sigill

Gregory Petrosyan gregory.petrosyan+clang at gmail.com
Thu Jun 25 14:27:58 PDT 2009


On Thu, Jun 25, 2009 at 09:18:08AM -0700, Chris Lattner wrote:
> This is probably because clang defaults to SSE2.  Try passing - 
> mcpu=athlon-xp to clang.
>

Thanks — that fixed the SIGILL issue. But why does clang defaults to
SSE2? It is more than strange when program compiled without any special
arch flags crashes due to use of SSE2. Wouldn't defaulting to 486 or
something like that make more sense?

	Gregory



More information about the cfe-dev mailing list