Skip to content

Preserve glibc 2.36 runtime compatibility - #365

Merged
ctate merged 1 commit into
mainfrom
fix/issue-349-glibc-floor
Sep 21, 2026
Merged

ctate merged 1 commit into
mainfrom
fix/issue-349-glibc-floor

Conversation

@ctate

@ctate ctate commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator
  • Pin GNU runtime packs to glibc 2.36 Zig targets and reject incompatible imports.

  • Provision verified Zig builds and exercise published artifacts on Debian Bookworm.

Fixes #349

- Pin GNU runtime packs to glibc 2.36 Zig targets and reject incompatible imports.

- Provision verified Zig builds and exercise published artifacts on Debian Bookworm.

Fixes #349

Co-authored-by: Cruel <383999+Cruel@users.noreply.github.com>
@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Sep 21, 2026 3:26am UTC

@ctate
ctate merged commit f5ed014 into main Sep 21, 2026
20 checks passed
Comment thread .github/workflows/ci.yml
- uses: vercel-labs/setup-zig@v1
with:
version: 0.16.0
- run: CC=zig AR=zig pnpm --filter @scriptc/runtime-linux-x64-gnu build:native

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- run: CC=zig AR=zig pnpm --filter @scriptc/runtime-linux-x64-gnu build:native
- run: CC=zig AR=zig pnpm --filter @scriptc/runtime-linux-x64-gnu build:native

Comment thread .github/workflows/ci.yml
run: |
node packages/cli/dist/main.js build tests/corpus/001-hello.ts -o "$RUNNER_TEMP/hello"
test "$("$RUNNER_TEMP/hello")" = 'hello world'
- name: Debian 12 glibc 2.36 runtime-pack smoke

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Debian 12 glibc 2.36 runtime-pack smoke
- name: Debian 12 glibc 2.36 runtime-pack smoke

Comment thread .github/workflows/ci.yml
node packages/cli/dist/main.js build tests/corpus/001-hello.ts -o "$RUNNER_TEMP/hello"
test "$("$RUNNER_TEMP/hello")" = 'hello world'
- name: Debian 12 glibc 2.36 runtime-pack smoke
run: |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
run: |
run: |
- ```

Comment thread AGENTS.md
@@ -13,12 +13,7 @@ pnpm install && pnpm -r build # build the workspace
pnpm test:sandbox # full gate: ~4m custom image, ~9m cold managed fallback
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```

Comment thread AGENTS.md
matching `@scriptc/llvm-<platform>` and `@scriptc/runtime-<platform>`
`build:native` scripts explicitly. The macOS full test suite also needs its
generated artifacts.
The ordinary workspace build does not rebuild packaged native artifacts. When changing native assembly/object emission or runtime-pack selection, install CMake, Ninja, the pinned LLVM 22 development package, and Zig 0.16.0, then run the matching `@scriptc/llvm-<platform>` and `@scriptc/runtime-<platform>` `build:native` scripts explicitly. The macOS full test suite also needs its generated artifacts.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The ordinary workspace build does not rebuild packaged native artifacts. When changing native assembly/object emission or runtime-pack selection, install CMake, Ninja, the pinned LLVM 22 development package, and Zig 0.16.0, then run the matching `@scriptc/llvm-<platform>` and `@scriptc/runtime-<platform>` `build:native` scripts explicitly. The macOS full test suite also needs its generated artifacts.
The ordinary workspace build does not rebuild packaged native artifacts. When changing native assembly/object emission or runtime-pack selection, install CMake, Ninja, the pinned LLVM 22 development package, and Zig 0.16.0, then run the matching `@scriptc/llvm-<platform>` and `@scriptc/runtime-<platform>` `build:native` scripts explicitly. The macOS full test suite also needs its generated artifacts.

Comment thread Dockerfile.sandbox

ARG NODE_VERSION
ARG PNPM_VERSION=11.1.3
ARG ZIG_VERSION=0.16.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ARG ZIG_VERSION=0.16.0
ARG ZIG_VERSION=0.16.0

This branch was successfully deployed

1 active deployment
Preview 5fd2be27 Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Precompiled Linux GNU runtime references __isoc23_* symbols unavailable on glibc 2.36

2 participants