[Bug] Native binary crashes with SIGILL on x86-64 CPUs without AVX2 support

Status Closed — duplicate
Reported on v2.1.113
Maintainer reply None cached
Activity 1 comment · opened Jul 31, 2026 · closed Aug 20, 2026

Bug Description
Claude Code npm package (>= 2.1.113) crashes with SIGILL on x86-64 CPUs without AVX2

Since 2.1.113 the npm package ships a Bun-compiled native binary
(bin/claude.exe) instead of the Node-based cli.js. On CPUs without AVX2 it
dies immediately with SIGILL.

Repro:

  • CPU: Intel Core i7-3520M (Ivy Bridge, 2012) - no AVX2

leaf7 features: RDWRFSGS SMEP ERMS MDCLEAR IBRS STIBP L1DF SSBD

  • macOS 13.7.8, Node v22.23.1, npm prefix ~/.local
  • npm i -g @anthropic-ai/claude-code@2.1.220
  • claude --version -> exit code 132 (SIGILL), no output
  • 2.1.112 (last Node-based release) works fine on the same machine

Notes:

  • cli-wrapper.cjs only spawns the native binary, so --ignore-scripts is not

a workaround.
-…
Note: Content was truncated.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗