kiro-cli fails silently on pre-AVX CPUs (Core 2 Duo and older)
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Fedora Linux 35
Kiro Version
2.3.0
Bug Description
kiro-cli exits silently with code 1 on CPUs that lack AVX support. No error message is shown to the user, making the issue very difficult to diagnose.
Via strace -f, the root cause is that kiro-cli spawns a bundled Bun runtime at ~/.local/share/kiro-cli/bun, which immediately dies with SIGILL (ILL_ILLOPN) on CPUs without AVX. Even replacing the bundled Bun with the official bun-linux-x64-baseline build results in the same crash.
[pid XXXX] execve("/home/user/.local/share/kiro-cli/bun", ["/home/user/.local/share/kiro-cli"..., "chat"], 0x3bbb02b94 /* 60 vars */) = 0
[pid XXXX] --- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x4a4c551} ---
[pid XXXX] +++ killed by SIGILL (core dumped) +++
Steps to Reproduce
1.Install kiro-cli on a machine with a pre-AVX CPU (e.g. Intel Core 2 Duo P8800) 2. Run kiro-cli 3. Observe: no output, exits with code 1 4. Run strace -f kiro-cli 2>&1 to confirm bundled Bun dies with SIGILL
Expected Behavior
kiro-cli should support pre-AVX CPUs. The bundled Bun runtime should either be replaced with a Node.js-based runtime, or Kiro should ship a pre-AVX compatible build. At minimum, a clear error message explaining the CPU requirement would be better than a silent exit.
Conversation ID
No response
Additional Context
- CPU: Intel Core 2 Duo P8800 @ 2.66GHz (Penryn, 2008 — no AVX)
- Claude Code had an identical issue when they changed their bundled Bun build in v2.1.15, and fixed it in v2.1.17 by reverting to a compatible baseline build: https://github.com/anthropics/claude-code/issues/19907
- Related Kiro issue: #6367
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #6902: TUI: won't start, no error message - AVX2 required for bun (95% similar)
- #7202: kiro-cli 1.29.4, --tui mode crashes silently with SIGTRAP on macOS 15.7.5 arm64 (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both report kiro-cli failing silently with no error message due to AVX/AVX2 CPU requirements and bundled Bun runtime compatibility issues
This is not a duplicate. The other issues mention CPUs that support AVX, just not AVX2+. My CPU is pre-AVX
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
I was able to solve this issue by just using Bun's specific version for older devices. Here are the steps to fix it manually:
- Step 1: Download the Bun baseline build for older devices without AVX2:
wget https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64-baseline.zip
- Step 2: Unzip the downloaded file:
unzip bun-linux-x64-baseline.zip
- Step 3: Move the baseline binary to override Kiro's bundled engine:
mv ./bun-linux-x64-baseline/bun ~/.local/share/kiro-cli/bun
And voila! kiro-cli started successfully! WITHOUT --classic mode 🥀
I was able to solve this issue by just using Bun's specific version for older devices. Here are the steps to fix it manually:
- Step 1: Download the Bun baseline build for older devices without AVX2:
wget https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64-baseline.zip
- Step 2: Unzip the downloaded file:
unzip bun-linux-x64-baseline.zip
- Step 3: Move the baseline binary to override Kiro's bundled engine:
mv ./bun-linux-x64-baseline/bun ~/.local/share/kiro-cli/bunAnd voila! kiro-cli started successfully! WITHOUT --classic mode 🥀
Does this work on Core 2 Duo? Reading https://bun.com/docs/installation#cpu-requirements
Bun does not support x64 CPUs without the SSE4.2 extension. Bun requires macOS 13.0 or later. The -baseline release assets and @oven/bun-*-x64-baseline npm packages are kept as aliases of the single x64 binary for backward compatibility with older install scripts.
I doubt it.