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

armv5tejl arch Illegal instruction #7798

Open
rsromanovskiy opened this issue Apr 24, 2024 · 3 comments
Open

armv5tejl arch Illegal instruction #7798

rsromanovskiy opened this issue Apr 24, 2024 · 3 comments

Comments

@rsromanovskiy
Copy link

What is the problem you are having with rclone?

-bash-3.2# /opt/rclone-v1.66.0-linux-arm/rclone
Illegal instruction

What is your rclone version (output from rclone version)

1.66

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

cat /proc/version
Linux version 2.6.22.18 (philippet@es5x86.axentra.com) (gcc version 4.3.2 (sdk3.2rc1-ct-ng-1.4.1) ) #14 Wed Oct 27 15:41:03 EDT

Which cloud storage system are you using? (e.g. Google Drive)

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

Illegal instruction

-bash-3.2# uname -m
armv5tejl

my arch is armv5 but binary cant run/ https://en.wikipedia.org/wiki/List_of_ARM_processors

@ncw
Copy link
Member

ncw commented Apr 24, 2024

You need to download the ARMv5 - 32 Bit NOHF version if you haven't tried it. That is the right architecture anyway.

@rsromanovskiy
Copy link
Author

as i see in https://github.com/rclone/rclone/blob/master/bin/cross-compile.go
"arm": {"GOARM=5"},
"arm": "arm5",

ARMv5 compile to "rclone-v1.66.0-linux-arm" binary. but illegal instruction output.

i searched about same problems and answer is GOOS=linux go build -a
this rebuild runtime to armv5 arch? may be in rclone this situation.

@ncw
Copy link
Member

ncw commented Apr 25, 2024

It says here https://go.dev/wiki/MinimumRequirements#linuxlinux that you will need kernel 3.1 when running with ARMv5

Can you upgrade the kernel?

If you are desperate to run rclone then you can compile an older version with an older version of Go and you might get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants