ARMv7 cross-compiled failed to execute

This issue has been created since 2020-11-24.

I have followed the instructions in #415 to cross-compile on a ubuntu machine with go1.15.5 linux/amd64

go get github.com/Azure/azure-storage-azcopy
cd src/github.com/Azure/azure-storage-azcopy
env GOOS=linux GOARCH=arm go build

At the go get command I get the output:

# github.com/Azure/azure-storage-azcopy/common
src/github.com/Azure/azure-storage-azcopy/common/credentialFactory.go:249:9: undefined: minio.NewWithCredentials

The build after that however seems to execute without error.

When I then execute azcopy login --tenant-id=<tenant> on my armv7 device (a Synology NAS)
I get the device login but after logging in through the browser it crashes with:

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code <code> to authenticate.


SIGILL: illegal instruction
PC=0xc467c m=2 sigcode=4
instruction bytes: 0x40 0x60 0x9f 0xe5 0x6 0x0 0x50 0xe1 0x7 0x0 0x0 0x9a 0x0 0x10 0xe0 0xe3

goroutine 1 [syscall]:
syscall.Syscall6(0x900137, 0x0, 0xfffffffd, 0x1, 0x0, 0x0, 0x0, 0xab0abc, 0x4, 0x3372180)
        /usr/local/go/src/syscall/asm_linux_arm.s:45 +0x8 fp=0x3407554 sp=0x3407550 pc=0xc465c
github.com/jiacfan/keyctl.keyctl(0x0, 0x34075c4, 0x2, 0x2, 0x0, 0x1000, 0xd93, 0x1000)
....

zezha-msft wrote this answer on 2020-11-25

Hi @jpvlerbe. Thanks for reaching out!

Unfortunately we do not support ARM. It looks like the problem may have come from the usage of keyring. I suggest maybe you could give the in-memory login a try. More info is in this wiki.

More Details About Repo
Owner Name Azure
Repo Name azure-storage-azcopy
Full Name Azure/azure-storage-azcopy
Language Go
Created Date 2017-12-19
Updated Date 2022-09-29
Star Count 455
Watcher Count 42
Fork Count 153
Issue Count 251

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Modifying includes will cause errors "Cannot open URL" 1 2021-02-26 2022-09-29
How to update height of segmented Button 9 2020-08-18 2022-07-12
export2obj and export2stl don,t support Multi/Composite/Solid 0 2021-08-13 2022-04-01
Add a goal section to the readme 0 2020-10-27 2022-07-14
Upstreaming footprints 3 2019-10-09 2022-09-22
Null Reference Exception - Causing crashes on iOS 1 2022-05-09 2022-05-15
Any way to get audioBitsPerSecond 4 2021-05-09 2022-09-15
CC: CMake tutorial and reference resources 6 2022-03-04 2022-08-09
The `Endpoint.SerializerContext<TContext>()` option should have an overload that accepts a specific instance of `JsonSerializerContext` so the generated code can be used for serialization 1 2022-03-21 2022-07-11
functions inside expression are evaluated in coroutine and on panic are not recovered thus crashing whole application 0 2022-03-09 2022-09-14
feature request: add metadata in evaluable 5 2022-02-26 2022-09-14
Ludwig, TypeError: tuple indices must be integers or slices, not str 1 2020-12-23 2022-01-26
[Improvement] Void linux support 28 2021-12-30 2022-08-04
How to open Cine.rest file? 1 2021-01-17 2022-08-12
Add mypy annotations to importer and exporter plugins 0 2022-02-17 2022-02-27
Ctrl-clicks on pasted unls don't work 0 2022-02-14 2022-09-21
Making QuerySet classes part of the type of Manager classes 1 2022-03-04 2022-09-14
LePageViewModel Creation Should Delegate to Page Type 0 2022-02-11 2022-09-22
Making the PIP Listener Fire When PIP Window is Closed Without Using The PIP Control Button. 0 2021-09-01 2022-02-15
Idea: transform intent into runnable behavior 3 2019-11-11 2022-07-14
Add event options for useEvent 1 2021-04-09 2022-09-09
A series of bugs discovered on Gitpod 2 2021-10-05 2022-09-14
Wayland and KDE compatibility 3 2021-06-17 2022-07-29
Bug while handling blank alias // Alias property misbehaving after update to 0.5.9 8 2022-02-05 2022-09-13
Plugin: 另一个图片搜索 1 2021-11-03 2022-01-17
[CS 1.6] Server Browser Icons aren't centered 1 2019-07-25 2022-08-31
[Bug]: After adding key via `nuget setApiKey`, push commands error with `Key not valid for use in specified state.` & exit with code 1 2 2021-12-02 2022-08-17
[Bug]: Unable to install a different version in an existing PackageReference project. 9 2021-12-01 2022-08-17
Add trace id for non sampled logs as well 0 2022-07-11 2022-08-18
publish_json() within lambda function doesn't compile with 2022.1.0 2 2022-01-19 2022-08-27
Add support for AliCloud 1 2022-07-11 2022-09-10
Issue with module outputs 5 2022-07-11 2022-08-28
HCL parsing mocks array values as strings 1 2022-07-13 2022-09-06
Skip authentication when writing UI tests in cypress 4 2021-08-13 2022-08-07
[syncfusion_flutter_datagrid] not visible column still selectable with arrow key 3 2022-01-26 2022-08-26
Error on opening .tex files 11 2022-02-05 2022-09-28
If first `/upload/keys` sending `device_keys` get a 50X, no retry is done 1 2022-02-14 2022-09-16
React Native Web Style should not return number id 1 2020-04-16 2022-09-11
Dependency on @babel/runtime 1 2021-04-21 2022-09-22
InvalidProgramException calling classic Xamarin.Android dll 8 2022-08-16 2022-09-10
Index Queries 1 2019-06-24 2021-12-24
Android Basics: Fragments Navigation component 2 2021-01-10 2022-09-15
QUESTION: It seems weight setting is not work 2 2022-02-26 2022-08-04
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698 0 2022-01-03 2022-09-15
KG_HEADERS Should allow for 'Authorization': <token_value> and not hard code 'token' in the <token_value> 3 2019-03-26 2022-09-13
Add ability to define (sub)types that can only be assigned through type guard functions or casting 4 2022-03-03 2022-07-14
[CoE Starter Kit - BUG] Compliance Details Request running for MDA and SPA, not just canvas 3 2022-02-08 2022-07-21
grammar - linked list description 0 2018-10-08 2022-09-17
Proposal: Interval Types / Inequality Types 24 2021-04-02 2022-08-13
Vault-Agent: using exit_after_auth + auto_auth.sink.wrap_ttl doesn't provide a token 1 2022-04-05 2022-09-14