[OpenWrt-Devel] [PATCH] busybox: fix build with musl 1.2.0

Rosen Penev rosenp at gmail.com
Sun Mar 22 17:25:14 EDT 2020

On Sun, Mar 22, 2020 at 7:45 AM Petr Štetiar <ynezz at true.cz> wrote:
> Rosen Penev <rosenp at gmail.com> [2020-03-20 16:45:06]:
> > The SYS_settimeofday is no longer present. That is, it's replaced with the
> > time32 variant. There is no time64 variant.
> FYI upstream email "busybox 1.31.1 build issues with glibc-2.31 and musl
> 1.2.0"[1] mentions other fixes as well. If more fixing is needed, it would be
> nice to handle it via upstream first, thanks.>
> 1. http://lists.busybox.net/pipermail/busybox/2020-March/087843.html
I looked into those. I did not need to backport these in order to get
busybox to compile. I assume it would break under custom conditions.

Note that the last patch adds a dependency on librt (part of libc for
musl and uClibc-ng but not glibc).

I think this patch is good enough for now.
> -- ynezz

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list