-
-
Notifications
You must be signed in to change notification settings - Fork 436
Closed as not planned
Closed as not planned
Copy link
Labels
architecture: arm64Specific to 64 bit ARM host architectureSpecific to 64 bit ARM host architectureconclusion: off topicOff topic for this repositoryOff topic for this repositoryos: macosSpecific to macOS operating systemSpecific to macOS operating systemtype: enhancementProposed improvementProposed improvement
Description
Describe the problem
I have an M2 MacBookPro and I have installed arduino-cli_0.29.0_macOS_ARM64, when I try to list the board I get 2 : bad CPU type in executable ...
I don't want to install rosetta, so is there a way to have all the underlying tools compiled for ARM64?
What is the sense of having arduino-cli ARM64 if then uses underlying tools that are not ARM64 ?
To reproduce
install arduino-cli ARM64 on an Apple silicon Mac that doesn't have installed Rosetta, then run ./arduino-cli board list
Expected behavior
Everything should work without giving errors: bad CPU type in executable
Arduino CLI version
arduino-cli Version: 0.29.0 Commit: 76251df Date: 2022-11-17T09:21:37Z
Operating system
macOS
Operating system version
Ventura 13.0.1 (22A400)
Additional context
Output of arduino-cli board list
alessio@AleMacBookPro Tools % ./arduino-cli board list
Downloading index: library_index.tar.bz2 downloaded
Downloading index: package_index.tar.bz2 downloaded
Downloading missing tool builtin:serial-monitor@0.10.0...
builtin:serial-monitor@0.10.0 downloaded
Installing builtin:serial-monitor@0.10.0...
builtin:serial-monitor@0.10.0 installed
Downloading missing tool builtin:ctags@5.8-arduino11...
builtin:ctags@5.8-arduino11 downloaded
Installing builtin:ctags@5.8-arduino11...
builtin:ctags@5.8-arduino11 installed
Downloading missing tool builtin:serial-discovery@1.3.2...
builtin:serial-discovery@1.3.2 downloaded
Installing builtin:serial-discovery@1.3.2...
builtin:serial-discovery@1.3.2 installed
Downloading missing tool builtin:mdns-discovery@1.0.6...
builtin:mdns-discovery@1.0.6 downloaded
Installing builtin:mdns-discovery@1.0.6...
builtin:mdns-discovery@1.0.6 installed
Error starting discovery: discovery builtin:mdns-discovery process not started: fork/exec /Users/alessio/Library/Arduino15/packages/builtin/tools/mdns-discovery/1.0.6/mdns-discovery: bad CPU type in executable
Error starting discovery: discovery builtin:serial-discovery process not started: fork/exec /Users/alessio/Library/Arduino15/packages/builtin/tools/serial-discovery/1.3.2/serial-discovery: bad CPU type in executable
No boards found.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the nightly build
- My report contains all necessary details
swlacy
Metadata
Metadata
Assignees
Labels
architecture: arm64Specific to 64 bit ARM host architectureSpecific to 64 bit ARM host architectureconclusion: off topicOff topic for this repositoryOff topic for this repositoryos: macosSpecific to macOS operating systemSpecific to macOS operating systemtype: enhancementProposed improvementProposed improvement