[Bug 260797] devel/xtensa-esp32-elf: cannot find crt1-sim.o: No such file or directory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Dec 2021 14:37:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260797 Bug ID: 260797 Summary: devel/xtensa-esp32-elf: cannot find crt1-sim.o: No such file or directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: leres@freebsd.org Reporter: ohartmann@walstatt.org Assignee: leres@freebsd.org Flags: maintainer-feedback?(leres@freebsd.org) Host is 13/STABLE (13.0-STABLE #35 stable/13-n248731-0fc6eebbf76: Tue Dec 28 09:45:43 CET 2021 amd64), the port(s) in question are up to date as of today (29th of December, 2021), devel/extensa-esp32-elf is at 5.2.0. devel/arduino18 is also the most recent found in ports tree as of today. Following the instructions found on the ESP32 wiki for FreeBSD, https://wiki.freebsd.org/electronics/arduino/esp32 leaves me with the most recent espressif ESP32 infrastructure cloned (branch master). Apart from the WiKi mentioned before, I used a base path rooting in sketchbook/hardware/espressif/esp32 for the ESP32/FreeRTOS sources. Git branch release/v1.0 leaves me with some weird errors like (FastLED project for HyperionLED): libraries/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:149:33: error: 'cpu_hal_get_cycle_count' was not declared ... Most modern project I tried with devel/arduino18 fail to compile with the following error: [...] /usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or directory /usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find _vectors.o: No such file or directory collect2: error: ld returned 1 exit status which renders the development suite unusable. I have no clue what causes the error, either the compiler is out-of-phase with the espressif/arduino-esp32 sources, the toolset (esptool.py found in the espressif/arduino-esp32 sources) or an outdated devel/xtensa-esp32-elf compiler. -- You are receiving this mail because: You are the assignee for the bug.