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


Groups > linux.kernel > #1625656

[PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility

From Hauke Mehrtens <hauke@hauke-m.de>
Newsgroups linux.kernel
Subject [PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility
Date 2017-04-18 23:10 +0200
Message-ID <txIxP-2AU-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Changes since v1:
 - fix typo in commit message
 - combine two changes


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

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

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

-- 
2.11.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility Hauke Mehrtens <hauke@hauke-m.de> - 2017-04-18 23:10 +0200
  Re: [PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility David Miller <davem@davemloft.net> - 2017-04-20 22:10 +0200
    Re: [PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility David Woodhouse <dwmw2@infradead.org> - 2017-04-20 22:20 +0200
      Re: [PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility David Miller <davem@davemloft.net> - 2017-04-20 22:40 +0200
        Re: [PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility Hauke Mehrtens <hauke@hauke-m.de> - 2017-04-21 15:20 +0200
          Re: [PATCH v2 0/3] uapi glibc compat: fix musl libc compatibility David Woodhouse <dwmw2@infradead.org> - 2017-04-21 15:20 +0200
          Re: [musl] Re: [PATCH v2 0/3] uapi glibc compat: fix musl libc  compatibility Rich Felker <dalias@libc.org> - 2017-04-21 20:50 +0200

csiph-web