lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 7 October 2015 at 01:27, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> I compiled lua with the gcc undefined behaviour sanitizer turned on
>> (-fsanitize=undefined).
>>
>>     $ make MYCFLAGS="-fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1
>> -fsanitize=undefined" MYLDFLAGS="-fsanitize=undefined" linux
>>
>> Here are the errors I got running test suite:
>>
>> [...]
>
> Many thanks. BTW, which version of 'clang' are you using? I ran that
> with clang 3.5, all I got were a few "runtime error: division by zero".
>
> -- Roberto
>

Not clang, gcc 5.2.0.