Skip to content

Commit 28ff64f

Browse files
authored
Emscripten 3.1.60 (pyodide#5350)
1 parent 77a46eb commit 28ff64f

8 files changed

+14
-11
lines changed

Makefile.envs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export PYVERSION ?= 3.12.7
2-
export PYODIDE_EMSCRIPTEN_VERSION ?= 3.1.59
2+
export PYODIDE_EMSCRIPTEN_VERSION ?= 3.1.60
33
export PYODIDE_VERSION ?= 0.28.0.dev0
44
export PYODIDE_ABI_VERSION ?= 2025_0
55

emsdk/patches/0001-Add-back-fs.findObject-and-fs.readFile-in-loadLibDat.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 1afe76841eb678eaeb035e94661bc1d9c2d583d2 Mon Sep 17 00:00:00 2001
1+
From 91ad7e9df037971c814c5bd610fec5edca494a01 Mon Sep 17 00:00:00 2001
22
From: Hood Chatham <[email protected]>
33
Date: Fri, 2 Jun 2023 11:59:32 -0700
44
Subject: [PATCH 1/6] Add back fs.findObject and fs.readFile in loadLibData

emsdk/patches/0002-Add-useful-error-when-symbol-resolution-fails.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 1e354e3a4bed3f805da49fbf3e3b4380fca21d02 Mon Sep 17 00:00:00 2001
1+
From 795760dbdaa1a3644db292ecc16ceffebe3335e4 Mon Sep 17 00:00:00 2001
22
From: Hood Chatham <[email protected]>
33
Date: Fri, 19 May 2023 12:19:00 -0700
44
Subject: [PATCH 2/6] Add useful error when symbol resolution fails

emsdk/patches/0003-Changes-for-JSPI.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 5a2c98d6273f5ca9683be80bf1744abe70cd273b Mon Sep 17 00:00:00 2001
1+
From 936f05cb4e041c01d2c7e435a027ccfb8a5f9fbe Mon Sep 17 00:00:00 2001
22
From: Hood Chatham <[email protected]>
33
Date: Thu, 22 Jun 2023 18:53:22 -0700
44
Subject: [PATCH 3/6] Changes for JSPI
@@ -45,7 +45,7 @@ index 216a1362e..e8c812fab 100644
4545
#endif
4646
#if !DISABLE_EXCEPTION_CATCHING
4747
diff --git a/src/parseTools.mjs b/src/parseTools.mjs
48-
index 7f20321c3..118a32078 100644
48+
index a22dd55a3..15dcf5941 100644
4949
--- a/src/parseTools.mjs
5050
+++ b/src/parseTools.mjs
5151
@@ -581,7 +581,7 @@ function makeThrow(excPtr) {

emsdk/patches/0004-Raise-when-no-argument-is-given.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 3a8066f2ddb8b94c1e7ba3e9da90502ee52d4d26 Mon Sep 17 00:00:00 2001
1+
From ef8d6220135a29ec94c1ab07eb6085ed80245d95 Mon Sep 17 00:00:00 2001
22
From: ryanking13 <[email protected]>
33
Date: Sat, 20 Jan 2024 19:02:32 +0900
44
Subject: [PATCH 4/6] Raise when no argument is given
@@ -13,10 +13,10 @@ Upstream issue: https://github.com/emscripten-core/emscripten/issues/21116
1313
1 file changed, 3 insertions(+)
1414

1515
diff --git a/emcc.py b/emcc.py
16-
index 5aff31081..e23508898 100644
16+
index 31cdd93cb..9861bcfcd 100644
1717
--- a/emcc.py
1818
+++ b/emcc.py
19-
@@ -632,6 +632,9 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P
19+
@@ -636,6 +636,9 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P
2020
print(libname)
2121
return 0
2222

emsdk/patches/0005-Make-RTLD_LOCAL-work-correctly-for-preloaded-DSOs-21.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 8d8ac7d13ddb74a8b872af87c10c4b3481428d11 Mon Sep 17 00:00:00 2001
1+
From 43e48564c49b467ed539ac8c8834a1bb62fbb4e6 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?=
33
44
Date: Wed, 12 Jun 2024 20:10:35 +0200

emsdk/patches/0006-Make-seek-work-on-dev-null-22886.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 4e6df798a1d98e4c568ffa93a33cc5fa013a5953 Mon Sep 17 00:00:00 2001
1+
From 35df36d7ac35fe2307c6275f7c7860b8b9878e14 Mon Sep 17 00:00:00 2001
22
From: Hood Chatham <[email protected]>
33
Date: Mon, 18 Nov 2024 20:55:25 +0100
44
Subject: [PATCH 6/6] Make seek work on `/dev/null` (#22886)
@@ -12,7 +12,7 @@ This can be removed when we update to Emscripten 3.1.72.
1212
1 file changed, 1 insertion(+)
1313

1414
diff --git a/src/library_fs.js b/src/library_fs.js
15-
index 20a724a0a..f23ea50ec 100644
15+
index cd9562d07..6e18be78e 100644
1616
--- a/src/library_fs.js
1717
+++ b/src/library_fs.js
1818
@@ -1343,6 +1343,7 @@ FS.staticInit();` +

src/js/generated_struct_info32.json

+3
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,10 @@
383383
"S_IFMT": 61440,
384384
"S_IFREG": 32768,
385385
"S_IFSOCK": 49152,
386+
"S_IRGRP": 32,
387+
"S_IROTH": 4,
386388
"S_IRUGO": 292,
389+
"S_IRUSR": 256,
387390
"S_IRWXO": 7,
388391
"S_IRWXUGO": 511,
389392
"S_ISVTX": 512,

0 commit comments

Comments
 (0)