You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linker script generation failed for /home/morris/esp/coremark_example/build/esp-idf/esp_system/ld/sections.ld.in
ERROR: 'libcoremark.a:core_matrix None' not found
In fragment 'coremark' defined in '/home/morris/esp/coremark_example/managed_components/espressif__coremark/linker.lf'.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Coremark: a wrong library archive used by linker.lf?
Coremark: a wrong library archive used by linker.lf? (IEC-158)
Aug 29, 2024
Answers checklist.
General issue report
As a managed component, coremark component will be compiled into a static library:
libespressif__coremark.a
.While in the linker.lf file, we're still using
libcoremark.a
as the archive name.objdump of the example ELF file,
The function is still linked to the Flash cache address space.
After change to
archive: libespressif__coremark.a
, we can finally see its in the IRAM now.I wish I could see the link errors when I
export LDGEN_CHECK_MAPPING=1
, but no, the build still success. Seems to me like it's a bug in the ldgen.If we change the linker.lf into this
We will see the errors as expected:
The text was updated successfully, but these errors were encountered: