[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: undefined behaviour in lua source
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 6 Oct 2015 11:27:23 -0300
> 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