https://github.com/michaelrj-google commented: This looks like a good start, but you need to add `mremap` to [entrypoints.txt](https://github.com/llvm/llvm-project/blob/main/libc/config/linux/x86_64/entrypoints.txt) for it to actually build https://github.com/llvm/llvm-project/pull/112804