Segment failed #2224

Open
opened 2026-02-16 17:34:44 -05:00 by yindo · 2 comments
Owner

Originally created by @wildlux on GitHub (Oct 22, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Hello i run on IMac late 2009 with Kubuntu version LTS 0424 the command below.

opencode
-> Illegal instruction (core dumped)

In other words i can not use this software because the CPU don't have support of specific instruction.
I try to compiled but onestly i don't know what i need to touch.
This one it's my first Bug-Report in github.
Thanks for your software in other PC works very well!

OpenCode version

latest version

Steps to reproduce

run the code : opencode

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @wildlux on GitHub (Oct 22, 2025). Originally assigned to: @thdxr on GitHub. ### Description Hello i run on IMac late 2009 with Kubuntu version LTS 0424 the command below. opencode -> Illegal instruction (core dumped) In other words i can not use this software because the CPU don't have support of specific instruction. I try to compiled but onestly i don't know what i need to touch. This one it's my first Bug-Report in github. Thanks for your software in other PC works very well! ### OpenCode version latest version ### Steps to reproduce run the code : opencode ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:34:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 22, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #641: Illegal instruction in linux - Same exact error on Linux x64, same "Illegal instruction" message
  • #2562: unable to run opencode on my local machine - Same "Illegal instruction" error and "panic" message on Windows, likely related to CPU instruction set support
  • #256: Install on Apple M3 Max - Similar "illegal hardware instruction" error on macOS, suggesting CPU compatibility issues

These issues all appear to be related to CPU instruction set compatibility problems where OpenCode requires specific CPU instructions that older or different architecture CPUs don't support.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 22, 2025): This issue might be a duplicate of existing issues. Please check: - #641: Illegal instruction in linux - Same exact error on Linux x64, same "Illegal instruction" message - #2562: unable to run opencode on my local machine - Same "Illegal instruction" error and "panic" message on Windows, likely related to CPU instruction set support - #256: Install on Apple M3 Max - Similar "illegal hardware instruction" error on macOS, suggesting CPU compatibility issues These issues all appear to be related to CPU instruction set compatibility problems where OpenCode requires specific CPU instructions that older or different architecture CPUs don't support. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 22, 2025):

hm that is a pretty old computer bun executables may not support processors for that

@rekram1-node commented on GitHub (Oct 22, 2025): hm that is a pretty old computer bun executables may not support processors for that
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2224