-
Hey, I recently synced my Zephyr project with the latest main branch on ee451e5 commit and ran Compilation Output:
It seems like a linker error. Your help would be much appreciated. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @ofirshe , One change that comes to mind last year is Zephyr changed the default library from Newlib to Picolib, see #57340. Perhaps the library building with your app now changed, or the settings for that library changed. I would compare the Kconfig generated file build/zephyr/.config from before and after, search for the LIBC Kconfigs, and see if those have changed. Let us know what you find |
Beta Was this translation helpful? Give feedback.
-
Hi @ofirshe ,
Zephyr integrates multiple standard libraries to be flexible for the application. The best one to use will depend on the application. I am not an expert on the libraries. My understanding is that Picolibc is basically a subset of Newlib, this is a summary I found. Picolibc targets smaller resource-constrained devices, and should consume less memory. But it must not include all the features of Newlib. Best regards |
Beta Was this translation helpful? Give feedback.
Hi @DerekSnell,
I managed to compile successfully after removing these three configs:
These were previously used for floating point support but are no longer necessary.
I see that Picolib is enabled by default, as expected. Would you recommend using this library for the RT1060 controller, or do you have another suggestion?
Additionally, I've observed that the compilation now takes significantly longer [1303/1303] compared to before [355/360].
Thanks.