libretiny icon indicating copy to clipboard operation
libretiny copied to clipboard

arm-none-eabi-g++: not found

Open hunhejj opened this issue 1 year ago • 7 comments
trafficstars

I am getting the error arm-none-eabi-g++: not found when building a libretiny firmware.

ESPHome: v2023.12.15 (Docker) Host: Raspberry Pi 4 (4 GB)

Sample device:

esphome:
  name: libretiny_test

bk72xx:
  board: generic-bk7231n-qfn32-tuya

api:
  encryption:
    key: !secret api_encryption_key

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

Logs: logs_libretiny-test_compile.txt

hunhejj avatar Jan 08 '24 16:01 hunhejj

same issue here

SaschaMuehl avatar Jan 30 '24 09:01 SaschaMuehl

Any idea @kuba2k2 ?

hunhejj avatar Feb 24 '24 19:02 hunhejj

You most likely have an incorrect Docker version of ESPHome installed (i.e. 32-bit container on a 64-bit OS).

Also see: https://github.com/libretiny-eu/libretiny/issues/133 https://github.com/libretiny-eu/libretiny/issues/89 https://github.com/libretiny-eu/libretiny/issues/79

kuba2k2 avatar Feb 24 '24 19:02 kuba2k2

I just checked: I am using a 64 bit container (arm64) on a 64bit system (64 bit Raspberry OS) @kuba2k2

hunhejj avatar Feb 24 '24 20:02 hunhejj

ping @kuba2k2

hunhejj avatar Feb 26 '24 16:02 hunhejj

Actually, I don't have a solution. I don't know what causes the issue exactly, I don't have the right environment to reproduce it. I can only refer you to the issues listed above, hoping that you find a solution there.

kuba2k2 avatar Feb 26 '24 16:02 kuba2k2

I opened #259, I can give you more information if you need. I am running HAOS Blue on an Odroid N2+ with 4GB RAM.

juskalalie avatar Feb 29 '24 23:02 juskalalie