Skip to content

PocketShell v1.5.1

Choose a tag to compare

@Big-Pony Big-Pony released this 30 Jul 10:54

PocketShell v1.5.1

修复

  • 老 CPU 的 Linux 服务器启动即 Illegal instructionlinux-x64 二进制此前用到 AVX2 指令集,在 2013 年前后的 Intel CPU(Ivy Bridge 及更早,如 Xeon E5 v1/v2)上会立即崩溃,而报错完全看不出是指令集问题。本版改用 Bun 的 baseline 目标编译,只要求 SSE4.2,新老 CPU 都能跑。文件名不变(仍是 pocketshell-agent-linux-x64),自动更新照常工作。
    • 实测:Xeon E5-2680 v2(Ivy Bridge,有 AVX 无 AVX2)上 v1.5.0 崩溃,本版正常启动并 serve。

升级

撞上过该崩溃的重新下载 linux-x64 即可;已经跑起来的机器不受影响,正常更新即可。


PocketShell v1.5.1

Fixed

  • Illegal instruction on Linux servers with older CPUs: the linux-x64 binary emitted AVX2 instructions and crashed immediately on Intel CPUs from around 2013 and earlier (Ivy Bridge and older, e.g. Xeon E5 v1/v2), with an error that said nothing about instruction sets. This release compiles linux-x64 with Bun's baseline target, which only requires SSE4.2 and runs on both old and new CPUs. The filename is unchanged (pocketshell-agent-linux-x64), so auto-update keeps working with no action needed.
    • Verified on a Xeon E5-2680 v2 (Ivy Bridge, AVX but no AVX2): v1.5.0 crashes, this build starts and serves normally.

Upgrade

If you hit the crash, re-download linux-x64. Machines already running are unaffected — update as usual.