From 52661e8a74ab077fff5e30588253e53005d2b835 Mon Sep 17 00:00:00 2001 From: sh <37271604+shumvgolove@users.noreply.github.com> Date: Fri, 24 Oct 2025 15:05:24 +0000 Subject: [PATCH] nix: enable 16 KB page sizes (#6357) * nix: enable 16 KB page sizes * remove 16kb page from armv7a --------- Co-authored-by: Evgeny --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 1520fb2ee3..a68b42e2f1 100644 --- a/flake.nix +++ b/flake.nix @@ -309,6 +309,7 @@ aarch64-unknown-linux-android-ghc -shared -o libsupport.so \ -optl-Wl,-u,setLineBuffering \ -optl-Wl,-u,pipe_std_to_socket \ + -optl-Wl,-z,max-page-size=16384 \ dist/build/*.a ''; @@ -475,6 +476,7 @@ "-threaded" # "-debug" "-optl-lffi" + "-optl-Wl,-z,max-page-size=16384" ] # This is fairly idiotic. LLD will strip out foreign exported # symbols (a GHC bug? Codegen bug?). So we need to pass `-u `