Skip to content

semantic error: unable to find member 'strmask' for struct global_State #52

@billnote

Description

@billnote

Environment:
OS: centos 7
OpenResty: version: 1.19.3.1; build: ./configure --with-debug --without-luajit-gc64

Error info:

# ./samples/lj-gc-objs.sxx -x 22086
Found exact match for libluajit: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.0
semantic error: while processing function luajit_objlen

semantic error: unable to find member 'strmask' for struct global_State (alternatives: hookmask, vmevmask, str, strempty, gc, jit_base, tmptv, wrapf, stremptyz, vmstate, hookf, panic, prng, tmpbuf, tmptv2, cur_L, gcroot, registrytv, uvhead, allocd, allocf, hookcstart, ctype_state, nilnode, mainthref, saved_jit_base, dispatchmode, hookcount, bc_cfunc_ext, bc_cfunc_int): operator '->' at stapxx-AieXDJJg/luajit.stp:62:106
        source: @define sizeof_ptr %( &@cast(0, "global_State", "/usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->strmask %)
                                                                                                                         ^
	in expansion of macro: operator '@sizeof_ptr' at stapxx-AieXDJJg/luajit.stp:295:18
        source:             sz = @sizeof_ptr
                                 ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions