-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
The ARM binary does not run on RHEL based ARM platform #1410
Comments
I compile it from source and I could run it but found another problem. Track it on #1411. |
Hello @kappa-wingman!! 🙂 However we have a public roadmap where our users can share their ideas and their needs. It would be awesome if you can add your need so that other users will upvote it if they need it as well. I close this issue! |
Hello Clémentine 🙂 It should be simple to make ARM binary to be 'universal' that could run on all ARM OS. From what I understand from this issue, using '--with-lg-page=16' when compiling jemalloc could solve the problem. |
@MarinPostma or @irevoire, WDYT? |
Hello all Since it use jemalloc-sys, it could use the environment variable "JEMALLOC_SYS_WITH_LG_PAGE=16" (https://docs.rs/crate/jemalloc-sys/0.3.2), which is similar to '--with-lg-page=16 for jemalloc). I had forked the Meiliesearch and tried some GitHub Actions. The resulting binary could be run on AWS AMI 2 (4KB pagsize) and another ARM platform with RHEL (64KB pagesize). But I did not done any testing or know any performance implications. Below is the GitHub actions for reference
|
BTW, as a side note, the GitHub actions took about two hours to build the ARMv8 binary. |
Hello @kappa-wingman, so sorry for the delay on this issue! Is it possible you submit a PR so that we can test? :) |
~/meilisearch-linux-armv8
: Unsupported system page size
: Unsupported system page size
memory allocation of 4 bytes failed
Aborted (core dumped)
For ARM platform, the page size for Ubuntu is 4KB.
The page szie for RHEL based Linux is 64KB.
Related info:
jemalloc/jemalloc#467
fluent/fluent-package-builder#176
The text was updated successfully, but these errors were encountered: