-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel: undefined reference with --no-gc-sections #26848
Comments
@carlescufi Well certainly it is enough to trigger libmetal compilation and this error. |
@LeHack can you see if this PR fixes the issue: |
@galak Yes it does! |
I plan to once it gets merged upstream. |
I'm not quite sure if |
@andrewboie As for the use case, we are running some integration test scenarios on Nordic HW using a C/Python framework, which allows us to remotely control and execute code on the test platform. This way we can have a single hex built and sent to the DUT and then use Python to run a series of specific tests (using different methods/sequences/configuration) directly from the testing machine. So it's exactly what @SebastianBoe described: RPC execution happening without the linker knowing it. |
Ah I remember this now. Thanks for the detail. |
Update to a newer libmetal snapshot to pickup some upstream fixes Fixes zephyrproject-rtos#26848 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Update to a newer libmetal snapshot to pickup some upstream fixes Fixes #26848 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Describe the bug
When building with
--no-gc-sections
option to ld, reference to_sys_clock_tick_count
(libmetal) is undefinedTo Reproduce
Expected behavior
Sample builds.
Impact
Annoyance.
Logs and console output
Environment (please complete the following information):
Additional context
A similar issue (but in another part of Zephyr) was reported not long ago: #20136
The text was updated successfully, but these errors were encountered: