[cfe-dev] recent change broke -fcatch-undefined-behavior
richard at metafoo.co.uk
Tue Nov 20 19:08:48 PST 2012
On Tue, Nov 20, 2012 at 5:51 PM, Sean McBride <sean at rogue-research.com> wrote:
> On Tue, 20 Nov 2012 15:24:15 -0800, Richard Smith said:
>>> So nobody else sees this? Even now (r168392), I still can't even
>>build clang anymore...
>>It looks like you're building compiler-rt with an old version of
> I'm using the clang supplied with Xcode 4.5.2, the newest available, released just this month. Is that old? :(
Sorry, I don't know which Xcode versions correspond to which Clang
revisions. Clang has supported __int128 since r153999, which landed on
3rd April, and was included in the Clang 3.1 release.
>>You should be able to work around this by first building a new
>>clang (remove compiler-rt from your checkout so the build succeeds),
>>then building compiler-rt with that. Eventually the build system
>>should do this for you, but that's not been implemented yet.
> That worked, thanks! I hope this is fixed for 3.2, it seems to me the current Xcode ought to be sufficient to bootstrap...
> Anyway, now -fcatch-undefined-behavior works, yay! Umm, I mean -fsanitize=undefined. :)
I'm happy to hear it.
More information about the cfe-dev