[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: Re: [cfe-dev] cmus compiled with clang crashes with sigill
From: Chris Lattner <clattner () apple ! com>
Date: 2009-06-25 21:34:34
Message-ID: 20B85B68-14BF-479F-9F46-3E3B1B899418 () apple ! com
[Download RAW message or body]
On Jun 25, 2009, at 2:27 PM, Gregory Petrosyan wrote:
> 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?
We want clang to default to the native CPU type on linux, but noone
has written the code to do it yet,
-Chris
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic