microsoft / ripgrep-prebuilt

Builds ripgrep on Azure Pipelines for multiple platforms and makes the binaries available as Github releases
MIT License
46 stars 17 forks source link

linux-aarch64 no longer allows for 16K page size #26

Closed andreamah closed 1 year ago

andreamah commented 1 year ago

From https://github.com/microsoft/vscode/issues/179907

Since we started using musl to build linux-aarch64, it uses jemalloc, which doesn't support page sizes above 4K.

andreamah commented 1 year ago

jemalloc supported larger page sizes in https://github.com/jemalloc/jemalloc/pull/769/files. Seems that they set max page size to 16K for M1 macs. https://github.com/jemalloc/jemalloc/blob/54eaed1d8b56b1aa528be3bdd1877e59c56fa90c/configure.ac#L1694

andreamah commented 1 year ago

Seems that I didn't set the env var correctly, this still happens.