On Sun, Dec 5, 2021 at 11:45 AM Florian Klämpfl via fpc-devel < fpc-devel@lists.freepascal.org> wrote:
> > You can try adding tf_dwarf_relative_addresses in i_freertos.pas line 660, > it appears that xtensa-freertos uses relative addresses. > Including this flag results in an unresolved symbol error: /home/christo/fpc/gitlab-cc/compiler/ppcrossxtensa -Cplx6 -Ur -Tfreertos -Pxtensa -XP/home/christo/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf- -Ur -Xs -O2 -n -Fi../inc -Fi../xtensa -FE. -FU/home/christo/fpc/gitlab-cc/rtl/units/xtensa-freertos -dxtensa -dRELEASE -Cfhard -g xtensa/esp32.pp /home/christo/fpc/gitlab-cc/rtl/units/xtensa-freertos/esp32.s: Assembler messages: /home/christo/fpc/gitlab-cc/rtl/units/xtensa-freertos/esp32.s:1454: Error: can't resolve `.debug_info' {.debug_info section} - `.Ldebug_infosection0' {*UND* section} esp32.pp(78) Error: Error while assembling exitcode 1 A similar error is also reported for esp8266.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel