[OE-core] [for-krogoth] musl backport

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Jul 11 17:39:18 UTC 2016


Hello Khem and OE-Core fellows,

I would like to propose the backport of following changes:

commit a572a1181411668a9bd4c264f5124d13f3d7cead (HEAD -> for-krogoth)
Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jun 23 15:23:19 2016 -0700

    musl: Upgrade to tip

    Rich Felker (4):
          fix undefined pointer arithmetic in CMSG_NXTHDR macro
          fix a64l undefined behavior on ILP32 archs, wrong results on
LP64 archs
          avoid padding gaps in struct sockaddr_storage
          remove comments on copyright status from UTF-8 implementation files

    Szabolcs Nagy (8):
          fix the use of uninitialized value in regcomp
          add preadv2 and pwritev2 syscall numbers for linux v4.6
          add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6
          add ETH_P_MACSEC netinet/if_ether.h, new in linux v4.6
          update siginfo struct for linux v4.6
          add CLONE_NEWCGROUP clone flag, new in linux v4.6
          add new tcp_info fields from linux v4.6
          update sys/socket.h to linux v4.6

    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    (cherry picked from commit d81bb8c6362d59a124bbe9b3a60cb259733b120d)

commit a8e05129847ac01bddb01dcd8f1592fcacf0c908
Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri May 20 07:03:30 2016 -0700

    musl: Update to latest tip

    Bobby Bingham (3):
          x32: remove arch-specific syscall remapping
          x32: eliminate __X32_SYSCALL_BIT constant
          deduplicate __NR_* and SYS_* syscall number definitions

    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    (cherry picked from commit 6993e88cccbfe2f990e4ea9bd7cc186d59e5a84b)

commit d782ecec07bd270f1a9c7a440460cf4dd0cb1616
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed May 11 10:35:30 2016 -0700

    musl: Upgrade to tip of tree

    COPYRIGHT file was changed to clarfiy the MIT Licence
    which resulted in checksum change, see

    http://git.musl-libc.org/cgit/musl/commit/?id=f0a61399330bae42beeb27d6ecd05570b3382a60

    below are changes in upgrade

    Andrew Kelley (1):
          fix incorrect protocol name and number for egp

    Bobby Bingham (1):
          add powerpc64 port

    LeMay, Michael (1):
          fix redundant processing of --build flag in configure script

    Petr Vaněk (1):
          remove dead store in res_msend

    Rich Felker (10):
          fix undefined pointer comparison in stdio-internal __toread
          fix regression disabling use of pause instruction for x86 a_spin
          fix read past end of haystack buffer for short needles in memmem
          add support for mips and mips64 r6 isa
          add mips n32 port (ILP32 ABI for mips64)
          fix thread structure/dtv-pointer corruption on powerpc
          fix FILE buffer underflow in ungetwc
          update COPYRIGHT file to clarify that permissions apply for all files
          follow standard configure behavior for cross compile prefix
          fix spurious trailing whitespace in powerpc & powerpc64 bits/errno.h

    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    (cherry picked from commit 21d8d60b2bfb205dcb5d304119d4dbd627db7163)

We have been using those backports locally with success and it fixes a
number of important things for our application, as musl is ABI
compatible I think those backports would be good for stable. What do
you think?

Best Regards,

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list