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

linux-structures issues #156

Open
justincormack opened this issue Feb 9, 2014 · 1 comment
Open

linux-structures issues #156

justincormack opened this issue Feb 9, 2014 · 1 comment

Comments

@justincormack
Copy link
Owner

Basically to run the test/linux-structures correctly you have to be on same 32/64 bit ie run

luajit32 test/linux-structures.lua x86 > ./obj/c.c && cc -m32 -D__i386__  -I./include/linux-kernel-headers/i386/include -o ./obj/c ./obj/c.c && ./obj/c

else the padding is all wrong

So need a 32 bit build to run tests, or run on native.

@justincormack
Copy link
Owner Author

x86, amd64, arm are ok. ppc has issues in kernel headers. Fix these and add to ctest on buildbot

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

No branches or pull requests

1 participant