Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

### Added

- **`openkal-linux` 0.16.1 与 `openkal-musl` 0.20.1。** 0.16.1 修掉一处潜伏缺陷:
线程局部存储的镜像被放在变量地址之下八字节(段声明 `p_align = 8, p_memsz = 56`
时,链接器把变量放在 `tp - 56`,而区域按 16 对齐建成 64 深)。0.16.0 新增的
实现自有 TLS 存储使该缺陷显形:两个带初值的线程局部变量互相读到对方的字节,
C++ 的 `thread_local` 对象的 guard 字节落到非零邻居上而不构造 —— 由
openkal-llvm-runtime 的探针在 runner 上报出。0.20.1 只移动锁定版本。
GLOBAL/CN 与 sha256 的取法与前一行相同。

- **`openkal-linux` 0.16.0、`openkal-macos` 0.13.0、`openkal-windows` 0.11.0、
`openkal-emscripten` 0.4.0、`openkal-opensbi` 0.8.2、`openkal-musl` 0.20.0。**
六个同轮仓库的行:GLOBAL 为上游 tag 归档,CN 为字节一致的 gitcode 资源
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-linux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ package = {

xpm = {
linux = {
["0.16.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.16.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.16.1/openkal-linux-0.16.1.tar.gz",
},
sha256 = "55b85a9ee7df4eca1450af7bd08de8decd021202e45122dda1112e2995bd646c",
},
["0.16.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.16.0.tar.gz",
Expand Down Expand Up @@ -140,6 +147,13 @@ package = {
},
},
macosx = {
["0.16.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.16.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.16.1/openkal-linux-0.16.1.tar.gz",
},
sha256 = "55b85a9ee7df4eca1450af7bd08de8decd021202e45122dda1112e2995bd646c",
},
["0.16.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.16.0.tar.gz",
Expand Down Expand Up @@ -261,6 +275,13 @@ package = {
},
},
windows = {
["0.16.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.16.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.16.1/openkal-linux-0.16.1.tar.gz",
},
sha256 = "55b85a9ee7df4eca1450af7bd08de8decd021202e45122dda1112e2995bd646c",
},
["0.16.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.16.0.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-musl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ package = {

xpm = {
linux = {
["0.20.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.20.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.20.1/openkal-musl-0.20.1.tar.gz",
},
sha256 = "66e7e9954486eaea0bb7a9ece727b7a039ccfa3fb140038da7d8304b094d8e7c",
},
["0.20.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.20.0.tar.gz",
Expand Down Expand Up @@ -283,6 +290,13 @@ package = {
},
},
macosx = {
["0.20.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.20.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.20.1/openkal-musl-0.20.1.tar.gz",
},
sha256 = "66e7e9954486eaea0bb7a9ece727b7a039ccfa3fb140038da7d8304b094d8e7c",
},
["0.20.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.20.0.tar.gz",
Expand Down Expand Up @@ -502,6 +516,13 @@ package = {
},
},
windows = {
["0.20.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.20.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.20.1/openkal-musl-0.20.1.tar.gz",
},
sha256 = "66e7e9954486eaea0bb7a9ece727b7a039ccfa3fb140038da7d8304b094d8e7c",
},
["0.20.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.20.0.tar.gz",
Expand Down
Loading