posal: linux: Add posal_time.c with UTC time API stubs - #102
Open
quic-aditrath wants to merge 2 commits into
Open
posal: linux: Add posal_time.c with UTC time API stubs#102quic-aditrath wants to merge 2 commits into
quic-aditrath wants to merge 2 commits into
Conversation
Commit 0b7d884 introduced posal_time.h declaring four UTC time APIs but shipped no Linux implementation, causing a runtime symbol lookup error when loading libspf.so on Linux targets. Add posal_time.c under fwk/platform/posal/src/linux/ with stub implementations to avoid undefined symbols at run time. Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
Wire the newly added fwk/platform/posal/src/linux/posal_time.c into the
posal CMakeLists.txt so it is compiled into spf library on Linux and
Zephyr build. The include path for posal_time.h is already covered by
the existing ${LIB_ROOT}/inc entry.
Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
Open
qti-sbojja
approved these changes
Aug 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit 0b7d884 introduced posal_time.h declaring four UTC time APIs but shipped no Linux implementation, causing a runtime symbol lookup error when loading libspf.so on Linux targets.
Add posal_time.c under fwk/platform/posal/src/linux/ with stub implementations to avoid undefined symbols at run time.