[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: undefined behaviour in lua source
- From: Daurnimator <quae@...>
- Date: Fri, 9 Oct 2015 01:20:47 +1100
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.