[cfe-dev] recent change broke -fcatch-undefined-behavior

Jonathan Sauer jonathan.sauer at gmx.de
Thu Nov 15 09:37:50 PST 2012


Hello,

>> Thanks for the prod, I've checked in some pending patches to add OS X
>> support, in r167888, r167889, and r167890. If you could build
>> clang_rt.ubsan_osx and let me know whether everything is working as
>> intended, that'd be great; we can then ask to get those patches pulled
>> onto the 3.2 branch.
> 
> I've rebuilt clang r167897 and still get link errors, ex:
> 
> Undefined symbols for architecture x86_64:
>  "___ubsan_handle_shift_out_of_bounds", referenced from:

I found that currently (i.e. as of last Monday) "make install" doesn't seem to copy
the ubsan runtime libraries into clang's runtime library directory as it does for
asan. Maybe that's the problem.


HTH,
Jonathan





More information about the cfe-dev mailing list