Skip to content

node bindings: linux-arm64-gnu ships a high-glibc baseline (unloadable on arm64 AWS Lambda) #393

Description

@bordumb

The linux-x64-gnu npm binding is now built in the napi-rs debian image so it loads on glibc 2.34 runtimes (AWS Lambda / Amazon Linux 2023, Vercel functions).

The linux-arm64-gnu binding still builds on the native ubuntu-24.04-arm runner, so it links against glibc 2.38+ symbols: it will fail to load on arm64 Lambdas / Graviton AL2023 the same way x64 did. Blocked on: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64's cross gcc is too old to compile aws-lc-sys (missing stdatomic.h, unknown -march=armv8.4-a+sha3).

Options: newer cross image, zig cc for the C deps, or a native arm64 debian container on the arm runner.

No arm64-lambda consumer exists today; revisit before anyone deploys the SDK on Graviton serverless.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions