rclone: build: ARMv6 builds for 1.53.0 result in "Illegal instruction" error
What is the problem you are having with rclone?
All commands (including running rclone with no arguments) result in the error “Illegal instruction”.
What is your rclone version (output from rclone version
)
1.53.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux Debian, 10.5, Arm 32 bit:
root@serverb3:~# uname -m
armv5tel
root@serverb3:~# uname -r
4.19.117-1
root@serverb3:~# cat /proc/cpu
cpu/ cpuinfo
root@serverb3:~# cat /proc/cpuinfo
processor : 0
model name : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 111.11
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1
Hardware : Marvell Kirkwood (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000
Which cloud storage system are you using? (eg Google Drive)
pCloud, not that it matters.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Any.
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
Not possible.
Downgraded to 1.52 and all works OK.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 41 (10 by maintainers)
Commits related to this issue
- build: explicitly set ARM version to fix build #4553 — committed to rclone/rclone by ncw 4 years ago
- build: disable ARM-v7 build as a test #4553 — committed to rclone/rclone by ncw 4 years ago
- build: fix "Illegal instruction" error for ARMv6 builds - fixes #4553 - FIXME Before this change we used `go build -i` to build the releases in parallel. However this causes the ARMv6 and ARMv7 buil... — committed to rclone/rclone by ncw 4 years ago
- build: explicitly set ARM version to fix build #4553 — committed to rclone/rclone by ncw 4 years ago
- build: explicitly set ARM version to fix build #4553 — committed to rclone/rclone by ncw 4 years ago
- build: fix "Illegal instruction" error for ARMv6 builds - fixes #4553 Before this change we used `go build -i` to build the releases in parallel. However this causes the ARMv6 and ARMv7 build to get... — committed to rclone/rclone by ncw 4 years ago
- build: don't explicitly set ARM version to fix ARMv5 build #4553 This partially reverts commit f71f6c57d775256a2cd54b051ad1d6c8816edd52. — committed to rclone/rclone by ncw 4 years ago
- build: don't explicitly set ARM version to fix ARMv5 build #4553 This partially reverts commit f71f6c57d775256a2cd54b051ad1d6c8816edd52. — committed to rclone/rclone by ncw 4 years ago
- build: don't explicitly set ARM version to fix ARMv5 build #4553 This partially reverts commit f71f6c57d775256a2cd54b051ad1d6c8816edd52. — committed to rclone/rclone by ncw 4 years ago
I have figured out the problem. It is something to do with building the ARMv6 and the ARMv7 releases simultaneously.
I’m just trying to nail it down which will probably end in a go bug report.
In the mean time here is a build which should work!
https://beta.rclone.org/branch/fix-4553-arm-build/v1.54.0-beta.4749.ac4537104.fix-4553-arm-build/
Thanks @creativeprojects ! Worked like a charm 😄