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

Sean McBride sean at rogue-research.com
Thu Nov 15 08:57:38 PST 2012

On Wed, 14 Nov 2012 12:11:18 -0800, Richard Smith said:

>> Undefined symbols for architecture x86_64:
>>   "___ubsan_handle_shift_out_of_bounds", referenced from:
>I don't have a Darwin machine to test against. Does the attached patch help?

I've rebuilt r168046+patch and still get:

 "___ubsan_handle_shift_out_of_bounds", referenced from:
     _main in test-704TMr.o

PS: Isn't Darwin open source?  Perhaps you could get an ISO and install it in a VM?


Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada

More information about the cfe-dev mailing list