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

Broken support for esp32c2 on raspbian #2561

Open
3 tasks done
buttim opened this issue Mar 5, 2024 · 1 comment
Open
3 tasks done

Broken support for esp32c2 on raspbian #2561

buttim opened this issue Mar 5, 2024 · 1 comment
Labels
type: imperfection Perceived defect in any part of project

Comments

@buttim
Copy link

buttim commented Mar 5, 2024

Describe the problem

compilation of a sketch for esp32c3 boards gives the following error:
Error during build: fork/exec /home/pi/.arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/riscv32-esp-elf-g++: no such file or directory

To reproduce

On a Raspberry Pi system running Raspbian create a (possibly empty) sketch and try to compile it with the command:
arduino-cli compile --fqbn esp32:esp32:esp32c3 sketch

Expected behavior

correct compilation

Arduino CLI version

Version: 0.35.3 Commit: 95cfd65 Date: 2024-02-19T13:24:25Z

Operating system

Linux

Operating system version

6.1.25-v8+ #1647 SMP PREEMPT Wed Apr 26 17:39:08 BST 2023 aarch64 GNU/Linux

Additional context

The referenced executable is not missing, so the error message is actually quite misleading.
Applying the file command to the executable gives the following output:
ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=8cd50729c808c5a7db52ee6de3635341ca83ea8b, stripped
The file /lib/ld-linux-aarch64.so.1 is missing, though; so I thinkc might cause the problem

Issue checklist

  • My report contains all necessary details
  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
@buttim buttim added the type: imperfection Perceived defect in any part of project label Mar 5, 2024
@umbynos
Copy link
Contributor

umbynos commented Mar 6, 2024

Seems a duplicate of #1208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants