-
Notifications
You must be signed in to change notification settings - Fork 390
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
Error building luajit on aarch64 #104
Comments
Wrk2 seems to be using luajit-2.0.3. We've upgraded our wrk2 fork to luajit-2.1.0-beta3 a while ago; maybe the commit can be cherry-picked to upstream? Please note that the commit referenced also enables luajit's 64bit garbage collector by default. 64bit address space support (which allows LUA scripts to handle significantly more data) was our main reason for upgrading. |
On aarch64, after applying this patch, I still got error |
I ran into this same issue and was able to get wrk2 to build and run on my aarch64 system. There were two additional code changes I had to make. Here's how I tied it together on a bare-metal aarch64 system:
With these changes I'm able to successfully build wrk2 natively on aarch64. My change to src/wrk.c line 746: from char c, **header = headers; to signed char c, **header = headers; |
As a follow on, I created this fork that's cloneable and immediately buildable on aarch64: https://github.com/AmpereTravis/wrk2-aarch64 |
Thanks AmpereTravis, I can build on aarch64 with fix 9e5f897 isrc/hdr_histogram.c, docker/prometheus: fix / add ARM64 support With the fix: bf8133e Update parse_args to use explicitly signed char to avoid argparse bugs. Thanks |
I can't get neither this fork to compile nor the one from Kinvolk. |
Duplicating work appears to be game in |
👆 fails to build on latest darwin/aarch64, so if you're on that combo see my comment above:
|
Build fails on aarch64 because luajit version included does not support aarch64. Able to build LuaJIT 2.1.0-beta3 on the same machine
The text was updated successfully, but these errors were encountered: