Skip to content
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

"Illegal instruction" on RPi Zero (armv6 ) Bullseye + Dietpi. #2113

Open
shooftie opened this issue Jul 26, 2024 · 0 comments
Open

"Illegal instruction" on RPi Zero (armv6 ) Bullseye + Dietpi. #2113

shooftie opened this issue Jul 26, 2024 · 0 comments
Labels

Comments

@shooftie
Copy link

shooftie commented Jul 26, 2024

Describe the bug

yq v4 always returns "Illegal instruction". I thought that it was a PEBCAK/syntax issue but I am even getting the response when running yq -V.

I have checked back throughout the releases and it is only once I reach v3.4.1 that I get any response other than "Illegal instruction"

yq version 3.4.1

See below for additional context. I carried out the same procedure but on an RPi Zero v2 (armv8) using the arm64 binary and I get

yq (https://github.com/mikefarah/yq/) version v4.44.2

Version of yq: v4.44.2 (latest)
Operating system: Debian Bullseye (DietPi)
Installed via: binary release

Input Yaml
Concise yaml document(s) (as simple as possible to show the bug, please keep it to 10 lines or less)
N/A

Command
The command you ran:

yq -V

Actual behavior

root@rpi:~# yq -V
Illegal instruction

Expected

root@rpi:~# yq -V
yq (https://github.com/mikefarah/yq/) version v4.44.2

Additional context

Min repro

wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm.tar.gz
echo "3d52e941da4de30cf9944f8d00bea147005dcd6f24401629ec23dbe6264deb77 yq_linux_arm.tar.gz" | sha256sum -c -
    yq_linux_arm.tar.gz: OK
tar -xvf yq_linux_arm.tar.gz
chmod +x yq_linux_arm
$ mv yq_linux_arm /usr/bin/yq
$ ls -la /usr/bin/yq
    -rwxr-xr-x  1 root root    9699480 Jun 16 02:25 yq
$ yq -V
    Illegal instruction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant