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

Khem Raj raj.khem at gmail.com
Mon Jul 11 19:15:55 UTC 2016


On Mon, Jul 11, 2016 at 11:33 AM, akuster808 <akuster808 at gmail.com> wrote:
>
>
> On 07/11/2016 10:41 AM, Khem Raj wrote:
>> On Mon, Jul 11, 2016 at 10:39 AM, Otavio Salvador
>> <otavio.salvador at ossystems.com.br> wrote:
>>> 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
>
> Don't think 4.6 is supported in Krogoth IRC.

Stll some BSPs might decide to use it for their machines.

>>>
>>>     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
>
> isn't this adding new arch support?

yes. However we did not claim ppc64 bit support in krogoth
so no one should be asking for support even if the port is in there
all we should ensure that port does not regress supported arches

>
>>>
>>>     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
> New arch support.
>
>>>           add mips n32 port (ILP32 ABI for mips64)
>
> New arch support.
>
>>>           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?
>>
>> These changes are safe for krogoth. Go ahead and send a pull request for krogoth
>
> They may be safe but this seems to go against the rules outlined in the
> stable branch maintenance process.  Does backporting  individual patches
> that do not include new arch support destabilize musl?

yes it will.

>
> - armin
>
>>



More information about the Openembedded-core mailing list