All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH resend 0/4] uapi glibc compat: fix musl libc compatibility
@ 2017-04-12 20:30 Hauke Mehrtens
  2017-04-12 20:31 ` [PATCH resend 1/4] uapi glibc compat: add libc compat code when not build for kernel Hauke Mehrtens
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Hauke Mehrtens @ 2017-04-12 20:30 UTC (permalink / raw)
  To: davem, netdev
  Cc: linux-kernel, jarod, jogo, david.heidelberger, maillist-linux,
	mikko.rapeli, dwmw2, Hauke Mehrtens

The code from libc-compat.h depends on some glibc specific defines and 
causes compile problems with the musl libc. These patches remove some 
of the glibc dependencies. With these patches the LEDE (OpenWrt) base 
user space applications can be build with unmodified kernel headers and 
musl libc.

This was compile tested with the user space from LEDE (OpenWrt) with 
musl 1.1.16, glibc 2.25 and uClibc-ng 1.0.22.


David Heidelberger (1):
  uapi/if_ether.h: prevent redefinition of struct ethhdr

Hauke Mehrtens (3):
  uapi glibc compat: add libc compat code when not build for kernel
  uapi glibc compat: fix build if libc defines IFF_ECHO
  uapi glibc compat: Do not check for __USE_MISC

 include/uapi/linux/if_ether.h    |  3 +++
 include/uapi/linux/libc-compat.h | 25 +++++++++++++++++++------
 2 files changed, 22 insertions(+), 6 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-17 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 20:30 [PATCH resend 0/4] uapi glibc compat: fix musl libc compatibility Hauke Mehrtens
2017-04-12 20:31 ` [PATCH resend 1/4] uapi glibc compat: add libc compat code when not build for kernel Hauke Mehrtens
2017-04-13 10:35   ` Sergei Shtylyov
2017-04-12 20:31 ` [PATCH resend 2/4] uapi glibc compat: fix build if libc defines IFF_ECHO Hauke Mehrtens
2017-04-12 20:31 ` [PATCH resend 3/4] uapi glibc compat: Do not check for __USE_MISC Hauke Mehrtens
2017-04-17 16:55   ` David Miller
2017-04-12 20:31 ` [PATCH resend 4/4] uapi/if_ether.h: prevent redefinition of struct ethhdr Hauke Mehrtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.