[RFC PATCH] treewide: drop librt and libpthread packages
Hauke Mehrtens
hauke at hauke-m.de
Mon Nov 29 13:03:11 PST 2021
On 11/18/21 12:58 PM, Jo-Philipp Wich wrote:
> Since OpenWrt's main libc library, musl, does not provide separate shared
> object files for libpthread and librt, the existing binary packages for
> them are empty placeholders which provide no runtime functionality and
> frequently cause confusion among users who attempt to build software
> linking -lrt or -lpthread on target.
>
> To clean this situation up somewhat and to simplify binary package
> dependecies for all of the potential musl, glibc and uclibc cases, drop
> those packages and move libpthread.so as well as librt.so into the main
> libc package for those libc implementations that happen ship them as
> extra shared libraries.
>
> Signed-off-by: Jo-Philipp Wich <jo at mein.io>
> ---
This looks good. glibc 2.34 also uses a single binary like musl, we are
currently using 2.33.
We can later upgrade also the glibc.
Hauke
More information about the openwrt-devel
mailing list