[Tarantool-patches] [PATCH 00/43] Unhide symbols

Mons Anderson v.perepelitsa at corp.mail.ru
Wed Apr 15 13:28:48 MSK 2020


> On 14 Apr 2020, at 23:41, Konstantin Osipov <kostja.osipov at gmail.com> wrote:
> 
> This is unrelated. 1.5 didn't have plugin api and no ffi exports 
> and mons was hacking into it.
> 
> In fact he wasn't hacking into functions at all, he was hacking
> into global state, such as cord_ptr->fiber, and it was not (and I
> believe is not) removed from the visibility list by linker.
> 
> In short:
> When trying to understand how this "feature" worked before, look
> at 1.5, not 1.6+.


You are wrong. It works in 1.6 and was broken by mejedi in the middle of 1.7 and unfortunately left unseen

For ex, I’m using in 1.6:

ffi.cdef[[ uint32_t sc_version; ]]

Things like that stop working after that patch.

-- 
Mons Anderson
Software Architect, Mail.Ru Cloud Solutions <https://mcs.mail.ru/><mons at cpan.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200415/dbb986c8/attachment.html>


More information about the Tarantool-patches mailing list