Skip to content

Compiling Python using pyenv against Homebrew on Ubuntu 22.04 linux/amd64 container fails with "internal compiler error: Illegal instruction" #5005

Answered by colindean
colindean asked this question in Linux
Discussion options

You must be logged in to vote

That was it; I needed to specify to QEMU to use Nehalem in the Colima configuration in ~/.colima/default/colima.yaml:

cpuType: "Nehalem,check"

Edit: I ended up needing to go even newer and found that Skylake-Client-v3 instead of Nehalem worked best for me to silence warnings about Nehalem lacking AVX.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@colindean
Comment options

@Bo98
Comment options

@colindean
Comment options

Answer selected by colindean
@carlocab
Comment options

@Bo98
Comment options

@carlocab
Comment options

@Bo98
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
3 participants