Open
Conversation
This is not required anymore. Quoting glibc 2.30 NEWS:
> * The functions clock_gettime, clock_getres, clock_settime,
> clock_getcpuclockid, clock_nanosleep were removed from the librt library
> for new applications (on architectures which had them). Instead, the
> definitions in libc will be used automatically, which have been available
> since glibc 2.17.
When building in a BitBake devshell as shared library and inspecting
the resulting .so file with readelf reveals that librt.so is never
linked to:
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-aarch64.so.1]
0x000000000000000e (SONAME) Library soname: [liblibnfc_nci.so]
This will also fix
do_package_qa: QA Issue: File /usr/lib/cmake/libnfc-nci/libnfc-nci-targets.cmake in package libnfc-nci-dev contains reference to TMPDIR [buildpaths]
in yocto builds since it contained a full path to librt.so.
Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
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.
This is not required anymore. Quoting glibc 2.30 NEWS:
When building in a BitBake devshell as shared library and inspecting the resulting .so file with readelf reveals that librt.so is never linked to:
This will also fix
in yocto builds since it contained a full path to librt.so.