[fpc-devel] Incorrect debug info for ESP32, linker error?
Christo Crause
christo.crause at gmail.com
Sun Dec 5 11:35:16 CET 2021
On Sun, Dec 5, 2021 at 11:45 AM Florian Klämpfl via fpc-devel <
fpc-devel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20211205/ba136b0c/attachment.htm>
More information about the fpc-devel
mailing list