Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving bytecode objects generates "corrupt .drectve at end of def file" warning on MINGW64 #116

Open
rdw-software opened this issue Nov 23, 2022 · 0 comments

Comments

@rdw-software
Copy link
Member

rdw-software commented Nov 23, 2022

When building the runtime using the ninja build system (currently WIP), saving bytecode objects generates the following warning:

Warning: corrupt .drectve at end of def file

Going by the LuaJIT issue, this isn't a problem but rather necessary to compile with MSVC (which I don't care about).

Since it's somewhat annoying and may be confusing it should likely be fixed for MINGW64-based builds. Maybe the objects' exported directive can be patched using standard Unix tools (via CLI, after building the objects)? If not, could consider patching the Lua module responsible for it (in the build directory's jit folder).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant