[Tarantool-patches] [PATCH luajit 5/6] FFI: Fix dangling reference to CType. Improve checks.

Sergey Bronnikov sergeyb at tarantool.org
Tue Dec 19 13:55:35 MSK 2023


Hello,


On 11/30/23 10:25, Sergey Kaplun wrote:


<snipped>

>> failed to reproduce a bug with reverted fix and LuaJIT built with a flag:
>>
>> $ CMAKE_C_FLAGS=-DLUAJIT_CTYPE_CHECK_ANCHOR
>> CFLAGS=-DLUAJIT_CTYPE_CHECK_ANCHOR cmake -S . -B build
>> -DCMAKE_BUILD_TYPE=Debug -DLUA_USE_ASSERT=ON -DLUAJIT_USE_ASAN=ON
> I suppose you forgot the -DLUAJIT_USE_SYSMALLOC=ON
> -DLUAJIT_ENABLE_GC64=ON flags. The same is valid for the previous patch.

It was not obvious that bug is specific for GC64.

LGTM now.

<snipped>


More information about the Tarantool-patches mailing list