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
compiling error #594
Comments
you would need to install the toolchain - this post may help |
Alternatively, just install the HomeAssistant and configure ESPHome on that, it just works :-) |
When compiling esp32 board firmware ,the plartformio will download toolchain-xtensa32 automaticaly under .platformio/packages .And the package.json is below "description": "GCC for SoC Xtensa L108", According to this information ,this pacakage is ok with arch64 linux operation system. But when compiling, the logs suggest that xtensa-esp32-elf-g++ is not found. However this file is under .platformio/packages/toolchain-xtensa32/bin . So I compile xtensa-esp32-elf following the issue you mentioned above.After replacing some folders in toolchain-xtensa32 using the files I compile ,esphome works.So I think the problem is with toolchain-xtensa32. |
Yes I think the official aarch64 toolchains are broken for some users (but only for certain setups when a specific dynamic library is missing, which has prevented me from sending the patch to platformio directly). You can use these steps to manually download a toolchain I compiled to run on native aarch64 without armv7 compatibility systems: https://github.com/esphome/esphome-docker-base/blob/master/aarch64/Dockerfile#L36 |
Operating environment/Installation (Hass.io/Docker/pip/etc.):
operating system :armbian aarch64 based debian buster
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
installation: pip
ESP (ESP32/ESP8266, Board/Sonoff):
esp32 board
Affected component:
none
Description of problem:
compiling error ,sh: 1: xtensa-esp32-elf-g++: not found
Problem-relevant YAML-configuration entries:
Logs (if applicable):
Additional information and things you've tried:
The text was updated successfully, but these errors were encountered: