8000 mpy_ld/esp32: cannot handle reloc-type #59 (R_XTENSA_PDIFF32) on idf 4.3.1 · Issue #8436 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
mpy_ld/esp32: cannot handle reloc-type #59 (R_XTENSA_PDIFF32) on idf 4.3.1 #8436
Closed
@mgliewe

Description

@mgliewe

Hi,
while playing around, i found that on esp32 some of the native examples wouldn't build (btree fro instance).

mpy_ld complaint about an unknow relocation type 59 (denoted R_XTENSA_PDIFF32 in xtensa bfd sources).

After some digging around in the xtensa bfd sources, i found out, these seems to be an unsigned version of the already used relocation type R_XTENSA_DIFF32, so just dealing equaly seemed to fix that problem. Unfortunately I didn't really found any docs about these relocation entries, so thats more or less a guess.

lg maG

$ idf.py --version
ESP-IDF v4.3.1-dirty
$ xtensa-esp32-elf-gcc --version
xtensa-esp32-elf-gcc (crosstool-NG esp-2021r1) 8.4.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0