alpha
Login
or
Join now
tombl.dev
/
distro
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
musl: update to latest (#42)
author
Thomas Stokes
committer
GitHub
date
1 year ago
(Apr 14, 2025, 5:42 PM +0800)
commit
01d0af0b
01d0af0b7ac25b57d2fb15cd70936b512f243c86
parent
c5a18ab2
c5a18ab22f7095a9ed7307d18c5891508bbc133a
+20
-1
3 changed files
Expand all
Collapse all
Unified
Split
packages
compiler-rt
package.nix
wasm.patch
musl
package.nix
+2
packages/compiler-rt/package.nix
Reviewed
···
31
31
];
32
32
}
33
33
''
34
34
+
patch -p1 <${./wasm.patch}
35
35
+
34
36
cmake -S compiler-rt -B build -G Ninja \
35
37
-DCMAKE_BUILD_TYPE=${if config.debug then "Debug" else "Release"} \
36
38
-DCMAKE_CXX_COMPILER_TARGET=wasm32-unknown \
+17
packages/compiler-rt/wasm.patch
Reviewed
···
1
1
+
diff --git a/compiler-rt/lib/builtins/enable_execute_stack.c b/compiler-rt/lib/builtins/enable_execute_stack.c
2
2
+
index e18de4eaeb..8af0c21ade 100644
3
3
+
--- a/compiler-rt/lib/builtins/enable_execute_stack.c
4
4
+
+++ b/compiler-rt/lib/builtins/enable_execute_stack.c
5
5
+
@@ -38,6 +38,7 @@
6
6
+
// and the next 48 bytes as executable. Since the stack is normally rw-
7
7
+
// that means changing the protection on those page(s) to rwx.
8
8
+
9
9
+
+#ifndef __wasm__
10
10
+
COMPILER_RT_ABI void __enable_execute_stack(void *addr) {
11
11
+
12
12
+
#if _WIN32
13
13
+
@@ -65,3 +66,4 @@
14
14
+
(void)mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
15
15
+
#endif
16
16
+
}
17
17
+
+#endif
+1
-1
packages/musl/package.nix
Reviewed
···
17
17
owner = "tombl";
18
18
repo = "musl";
19
19
rev = "refs/heads/master";
20
20
-
hash = "sha256-IFfilUadk9wstgeybczU2qJ3MLiAiA3u0jpafsBGcUY=";
20
20
+
hash = "sha256-6v4HfJpWdHUA4hlauMRNFex03SkdfXUt7SkfGuQfMgE=";
21
21
};
22
22
path = [
23
23
clang