-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sigp/lcli container image only built for modern x86 CPUs #4370
Comments
It appears that although the Dockerfile has the arg
|
Related: #1395 |
This fixes it for me:
|
Good catch, thanks Would you mind opening a PR to fix it? My preffered fix would be to remove the Lines 53 to 58 in c547a11
We should also update the Github action that builds the image so that it uses lighthouse/.github/workflows/docker.yml Lines 131 to 148 in c547a11
|
* Set lcli docker build to use portable feature (#4370) * Merge remote-tracking branch 'origin/unstable' into unstable
* Set lcli docker build to use portable feature (sigp#4370) * Merge remote-tracking branch 'origin/unstable' into unstable
Description
The lcli binary shipped in the sigp/lcli container image is built to run on a CPU with extensions (probably AVX2?) that are not present on all x86 CPUs. The result is that when the tool is run on such a machine, it throws an illegal instruction exception.
Such CPUs are not particularly rare : we have encountered the issue both in GitHub runners and in VMs in our internal build infra.
Version
Tested this container image and also a local built from the current stable branch.
Present Behaviour
The
lcli
tool, when run with theinsecure-validators
subcommand, throws an illegal instruction exception on some CPUs.e.g.:
Expected Behaviour
Should not throw illegal instruction exception.
Steps to resolve
The lcli container should be built with a portable compiler target, but it isn't.
The text was updated successfully, but these errors were encountered: