Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610629

Re: [PATCH 0/4] uapi glibc compat: fix musl libc compatibility

From Hauke Mehrtens <hauke@hauke-m.de>
Newsgroups linux.kernel
Subject Re: [PATCH 0/4] uapi glibc compat: fix musl libc compatibility
Date 2017-03-28 14:10 +0200
Message-ID <tpY6K-7lr-19@gated-at.bofh.it> (permalink)
References <tkjQB-7HV-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017-03-12 23:00, Hauke Mehrtens wrote:
> 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(-)

Did I send this to the correct maintainer? I am unsure through which
maintainer this should go. I saw that some patches for the libc-compat.h
file went trough David Miller, so I tried the same.

Hauke

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 0/4] uapi glibc compat: fix musl libc compatibility Hauke Mehrtens <hauke@hauke-m.de> - 2017-03-28 14:10 +0200

csiph-web