Illegal instruction (core dumped) while ./rclone config --config .rclone.conf

What is the problem you are having with rclone?

Illegal instruction (core dumped) while ./rclone config --config .rclone.conf

Run the command 'rclone version' and share the full output of the command.

Which cloud storage system are you using? (eg Google Drive)

google drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

./rclone config --config .rclone.conf

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Until some months ago I was using succesfully rclone v.1.33, but then it stopped working with google drives because they dropped some old connect functions, I found a post on this forum which suggested to install the new version of rclone. I downloaded and installed the rclone-v1.61.1-linux-arm-v7.zip. But it seems something went wrong because if I try to run rclone with any option I get the error "Illegal instruction (core dumped)".
Can You please help me make it work?

thanks
bye

hello and welcome to the forum,

that .zip is might not the correct one?

might try using the rclone installer.
https://rclone.org/downloads/#script-download-and-install

Try https://downloads.rclone.org/v1.61.1/rclone-v1.61.1-linux-arm.zip which is for ARMv6.

What platform are you running it on? An old Raspberry Pi?

Hello,
these are the info of the system I am trying to install and use the new version of rclone.

Linux NASAT 2.6.31.8 #2 Mon May 2 14:31:47 CST 2016 armv5tel GNU/Linux

Architecture: armv5tel
CPU(s): 1

Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1599.07
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Feroceon-KW
Revision : 0000
Serial : 0000000000000000

I assume I have to try a different version of rclone, can You please tell me if it is the ARMv6, or better if you can give the URL for the correct version?

Thanks
Bye

PS: rclone is very useful! nice tool

That says you need an ARMv5 build.

We don't make one of those by default as ARMv5 is very old now.

However you can make one yourself quite easily.

On another computer (can be windows, mac or linux) install the rclone source and the Go compiler as outlined in the docs.

Check it builds with go build.

Now cross compile for ARMv5 linux

GOOS=linux GOARCH=arm GOARM=5 go build

(On Windows you'll need to use set to set those environment variables first).

This will produce an rclone executable which should work on your hardware.

Actually, I think we do! The one labelled "ARMv6 - 32 Bit" is in reality an ARMv5 (softfloat/no-hardfloat) build.

@tonytogna you may want to try the ...-linux-arm.zip Nick linked above, my (wild) guess is that it will run fine on your system! :slight_smile:

Apparently you are correct - see build: ARMv6 builds for 1.53.0 result in "Illegal instruction" error · Issue #4553 · rclone/rclone · GitHub

I had forgotten that. Maybe we should document it. And / or make an actual ARMv6 build...

:nerd_face:

Arg! Will reply on the PR :slight_smile:

Hello,

I installed the version "ARMv6 - 32 Bit", and it works fine!

Thanks a lot for the quick answers.
Bye

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.