>I'd say it looks like you need to link with another library? Where should the 
>__ubsan_handle_type_mismatch_minimal symbol come from?

I don’t really know. Was wondering if anyone had already worked with this more.


 >>On the other hand, I tried the minimal runtime option with some standalone 
 >>program examples outside the OpenJDK, and
>>The error output was indeed  “minimal”   (without line numbers of the error); 
>>so it looked not very useful to me  but this might be my limited 
>>understanding.

>So what you're saying is that it is not really worth spending any time on 
>sorting this out?

The output without line numbers was really not good / limited   (at least when 
comparing to the usual output from ubsan) , so at the moment I just continue 
using the usual  non-minimal  ubsan mode.

The binaries generated by it are pretty fast  and the  output is reliable at 
least on Linux (with nice line numbers and stack traces)  so we are quite happy 
with it.

Best regards, Matthias

Reply via email to