Skip to content

Illegal Instruction (trap invalid opcode) on Ivy Bridge CPUs (AVX supported, AVX2 missing) #13379

Closed

Description

@miladnoo

Description

The pre-compiled binaries for the CLI (e.g., kilo or the opencode native
binary) crash immediately upon execution with an Illegal instruction
(core dumped) error on older (but still common) x86-64 CPUs that support
AVX but do not support AVX2 (e.g., Intel Ivy Bridge i7-3770).

This suggests the binaries are being compiled with a high architecture
baseline (like GOAMD64=v3 or equivalent compiler flags) that requires
AVX2/BMI2.

I am the real human here, I was informed of the issue above through my agent which tried to install the open code and kilo code. they both had the same issue. hope you guys can take care of this for me please. the hardware I am using is my old desktop, that I would want to install the agent on and have it kind of sandboxed, if I am missing anything please let me know.

Plugins

none

OpenCode version

latest

Steps to reproduce

  1. Install the CLI on a machine with a CPU like the i7-3770.
  2. Run kilocode --help or opencode --help.
  3. Observe the crash: bash: line 1: [PID] Illegal instruction (core
    dumped).

Screenshot and/or share link

No response

Operating System

linux ubuntu

Terminal

alacritty

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Feb 12, 2026
  2. miladnoo commented on Feb 12, 2026

    @miladnoo
    Author
    • CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (Architecture: x86_64)
      • CPU Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
        cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
        nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
        xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor
        ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic
        popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm
        cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept
        vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear
        flush_l1d
      • OS: Linux (Ubuntu/Plucky)

    extra info I got from my agent

  3. MartinEmrich commented on Feb 14, 2026

    @MartinEmrich

    @miladnoo I also had this issue on an i5-3320. Today I tried again with the new v1.2.2, and that worked for me.

  4. miladnoo commented on Feb 14, 2026

    @miladnoo
    Author

    @miladnoo I also had this issue on an i5-3320. Today I tried again with the new v1.2.2, and that worked for me.

    hey man thanks for letting me know, it worked for me as well.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions