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
Hello,
I've migrated to zephyr 4.0.0, and since then I do have an error when linking zephyr_pre.elf...
i know that the error is linked with me using target_link_options (I'm creating an interface library, and I call target_link_options(intermlib INTERFACE -Wl,--whole-archive ${global_libs_lst} -Wl,--no-whole-archive).... this interface library is then linked to the app target_link_libraries(app PUBLIC intermlib))
I need whole-archive as I use weak symbols.
Something changed in the linking process, and now zephyr_pre.elf seems to be not linked to any app libraries so it is built in parallel to the app libraries (which is fine by itself but then I need to understand how I can push the link_options without affecting the zephyr_pre target I think)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I've migrated to zephyr 4.0.0, and since then I do have an error when linking zephyr_pre.elf...
i know that the error is linked with me using target_link_options (I'm creating an interface library, and I call
target_link_options(intermlib INTERFACE -Wl,--whole-archive ${global_libs_lst} -Wl,--no-whole-archive)
.... this interface library is then linked to the apptarget_link_libraries(app PUBLIC intermlib)
)I need whole-archive as I use weak symbols.
Something changed in the linking process, and now zephyr_pre.elf seems to be not linked to any app libraries so it is built in parallel to the app libraries (which is fine by itself but then I need to understand how I can push the link_options without affecting the zephyr_pre target I think)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions