commit b6f69c7ec1cc45ba1481a5a997961e3a72b56ee3 (HEAD -> gentoo/2.30, gentoo/gentoo/2.30)
Author:     Marcin Kościelnicki <mwk@0x04.net>
AuthorDate: Thu Nov 21 00:20:15 2019 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:03:14 2019 +0100

    rtld: Check __libc_enable_secure before honoring LD_PREFER_MAP_32BIT_EXEC (CVE-2019-19126) [BZ #25204]
    
    The problem was introduced in glibc 2.23, in commit
    b9eb92ab05204df772eb4929eccd018637c9f3e9
    ("Add Prefer_MAP_32BIT_EXEC to map executable pages with MAP_32BIT").
    
    (cherry picked from commit d5dfad4326fc683c813df1e37bbf5cf920591c8e)
    (cherry picked from commit 37c90e117310728a4ad1eb998c0bbe7d79c4a398)

 NEWS                                            | 9 +++++++++
 sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h | 3 ++-
 2 files changed, 11 insertions(+), 1 deletion(-)

commit e594391e9299cab57de6783a69258d1af8583eef
Author:     Emilio Cobos Álvarez <emilio@crisal.io>
AuthorDate: Tue Nov 12 19:18:32 2019 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:02:52 2019 +0100

    Don't use a custom wrapper macro around __has_include (bug 25189).
    
    This causes issues when using clang with -frewrite-includes to e.g.,
    submit the translation unit to a distributed compiler.
    
    In my case, I was building Firefox using sccache.
    
    See [1] for a reduced test-case since I initially thought this was a
    clang bug, and [2] for more context.
    
    Apparently doing this is invalid C++ per [cpp.cond], which mentions [3]:
    
    > The #ifdef and #ifndef directives, and the defined conditional
    > inclusion operator, shall treat __has_include and __has_cpp_attribute
    > as if they were the names of defined macros.  The identifiers
    > __has_include and __has_cpp_attribute shall not appear in any context
    > not mentioned in this subclause.
    
    [1]: https://bugs.llvm.org/show_bug.cgi?id=43982
    [2]: https://bugs.llvm.org/show_bug.cgi?id=37990
    [3]: http://eel.is/c++draft/cpp.cond#7.sentence-2
    
    Change-Id: Id4b8ee19176a9e4624b533087ba870c418f27e60
    (cherry picked from commit bfa864e1645e140da2e1aae3cf0d0ba0674f6eb5)
    (cherry picked from commit a4b3bbf71e8a608ac6ee4f423b5e2db50e06b846)

 NEWS                                 |  1 +
 misc/sys/cdefs.h                     |  8 --------
 sysdeps/unix/sysv/linux/bits/statx.h | 12 +++++++-----
 3 files changed, 8 insertions(+), 13 deletions(-)

commit adedd77b84123fd97f9162f8f8a6847bdad19d48
Author:     DJ Delorie <dj@redhat.com>
AuthorDate: Wed Oct 30 18:03:14 2019 -0400
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:02:26 2019 +0100

    Base max_fast on alignment, not width, of bins (Bug 24903)
    
    set_max_fast sets the "impossibly small" value based on,
    eventually, MALLOC_ALIGNMENT.  The comparisons for the smallest
    chunk used is, eventually, MIN_CHUNK_SIZE.  Note that i386
    is the only platform where these are the same, so a smallest
    chunk *would* be put in a no-fastbins fastbin.
    
    This change calculates the "impossibly small" value
    based on MIN_CHUNK_SIZE instead, so that we can know it will
    always be impossibly small.
    
    (cherry picked from commit ff12e0fb91b9072800f031cb21fb2651ee7b6251)
    (cherry picked from commit 919af705eef416f4469341dfdf4ca23450f30236)

 malloc/malloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ec0381915a5ce7bdf21468d5882ff75a19b56836
Author:     Florian Weimer <fweimer@redhat.com>
AuthorDate: Thu Aug 15 11:37:18 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:02:11 2019 +0100

    malloc: Various cleanups for malloc/tst-mxfast
    
    (cherry picked from commit f9769a239784772453d595bc2f4bed8739810e06)
    (cherry picked from commit 09abef31a59e6a524d1d4142ad4eb40ad0a41ccd)

 ChangeLog           |  8 ++++++++
 malloc/Makefile     |  3 +--
 malloc/tst-mxfast.c | 14 +++++++-------
 3 files changed, 16 insertions(+), 9 deletions(-)

commit 1f1bb60fb355c17266001dcc0e4d5ffc6a24fd91
Author:     DJ Delorie <dj@redhat.com>
AuthorDate: Thu Aug 8 19:09:43 2019 -0400
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:01:50 2019 +0100

    Add glibc.malloc.mxfast tunable
    
    * elf/dl-tunables.list: Add glibc.malloc.mxfast.
    * manual/tunables.texi: Document it.
    * malloc/malloc.c (do_set_mxfast): New.
    (__libc_mallopt): Call it.
    * malloc/arena.c: Add mxfast tunable.
    * malloc/tst-mxfast.c: New.
    * malloc/Makefile: Add it.
    
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
    (cherry picked from commit c48d92b430c480de06762f80c104922239416826)
    (cherry picked from commit 09b81b2bab71c1a41872ba8de43115e3bdbe3d98)

 ChangeLog            | 10 ++++++++++
 elf/dl-tunables.list |  5 +++++
 malloc/Makefile      |  3 +++
 malloc/arena.c       |  2 ++
 malloc/malloc.c      | 21 ++++++++++++++-------
 malloc/tst-mxfast.c  | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 manual/tunables.texi | 12 ++++++++++++
 7 files changed, 96 insertions(+), 7 deletions(-)

commit 4b533b0c03034bfb7ecbf744a17119eac362244c
Author:     Niklas Hambüchen <mail@nh2.me>
AuthorDate: Thu Aug 8 22:02:27 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:01:33 2019 +0100

    malloc: Fix missing accounting of top chunk in malloc_info [BZ #24026]
    
    Fixes `<total type="rest" size="..."> incorrectly showing as 0 most
    of the time.
    
    The rest value being wrong is significant because to compute the
    actual amount of memory handed out via malloc, the user must subtract
    it from <system type="current" size="...">. That result being wrong
    makes investigating memory fragmentation issues like
    <https://bugzilla.redhat.com/show_bug.cgi?id=843478> close to
    impossible.
    
    (cherry picked from commit b6d2c4475d5abc05dd009575b90556bdd3c78ad0)
    (cherry picked from commit 5f620768fbdae75f71af78852be228ad5577623d)

 ChangeLog       | 6 ++++++
 malloc/malloc.c | 6 ++++++
 2 files changed, 12 insertions(+)

commit e37eecb4c2485b40021c4b4717bf36bdfb8f0697
Author:     Dragan Mladjenovic <dmladjenovic@wavecomp.com>
AuthorDate: Fri Aug 23 16:38:04 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:01:15 2019 +0100

    mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels
    
    Linux/Mips kernels prior to 4.8 could potentially crash the user
    process when doing FPU emulation while running on non-executable
    user stack.
    
    Currently, gcc doesn't emit .note.GNU-stack for mips, but that will
    change in the future. To ensure that glibc can be used with such
    future gcc, without silently resulting in binaries that might crash
    in runtime, this patch forces RWX stack for all built objects if
    configured to run against minimum kernel version less than 4.8.
    
            * sysdeps/unix/sysv/linux/mips/Makefile
            (test-xfail-check-execstack):
            Move under mips-has-gnustack != yes.
            (CFLAGS-.o*, ASFLAGS-.o*): New rules.
            Apply -Wa,-execstack if mips-force-execstack == yes.
            * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
            * sysdeps/unix/sysv/linux/mips/configure.ac
            (mips-force-execstack): New var.
            Set to yes for hard-float builds with minimum_kernel < 4.8.0
            or minimum_kernel not set at all.
            (mips-has-gnustack): New var.
            Use value of libc_cv_as_noexecstack
            if mips-force-execstack != yes, otherwise set to no.
    
    (cherry picked from commit 33bc9efd91de1b14354291fc8ebd5bce96379f12)
    (cherry picked from commit c347431fb5fd3f124c05e82fb7a661b396e86f82)

 ChangeLog                                 | 16 ++++++++++++
 sysdeps/unix/sysv/linux/mips/Makefile     | 21 ++++++++++++----
 sysdeps/unix/sysv/linux/mips/configure    | 41 +++++++++++++++++++++++++++++++
 sysdeps/unix/sysv/linux/mips/configure.ac | 32 ++++++++++++++++++++++++
 4 files changed, 105 insertions(+), 5 deletions(-)

commit bb5c615e932b59fff8793cfb6666dc300d48cea2
Author:     Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
AuthorDate: Tue Oct 8 14:32:17 2019 -0300
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:00:53 2019 +0100

    Make tst-strftime2 and tst-strftime3 depend on locale generation
    
    Building the test cases in parallel might make tst-strftime2 and
    tst-strftime3 fail.  Simply re-running the test case (or building
    serially) makes the problem go away.  This patch adds the necessary
    dependency to allow parallel builds in the time subdirectory.
    
    Tested for powerpc64le.
    
    Reviewed-by: Florian Weimer <fweimer@redhat.com>
    Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
    (cherry picked from commit 52151051b39293dac9fc3181cfd6240d7ce86ca1)
    (cherry picked from commit fca2d6186af873cb8355e216c07f4b4874ec5d3a)

 ChangeLog     | 6 ++++++
 time/Makefile | 2 ++
 2 files changed, 8 insertions(+)

commit 3ed7d4306e783ba200256085f03b48decd4c78c2
Author:     Stefan Liebler <stli@linux.ibm.com>
AuthorDate: Fri Oct 18 14:57:14 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 23:00:37 2019 +0100

    S390: Add new s390 platform z15.
    
    The new IBM z15 is added to platform string array.
    The macro _DL_PLATFORMS_COUNT is incremented.
    
    (cherry picked from commit 2901743568452403849be7295c8732faa7732339)
    (cherry picked from commit 5397c399f9604f4e0d0b17f5600e7bc756577549)

 sysdeps/s390/dl-procinfo.c | 4 ++--
 sysdeps/s390/dl-procinfo.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 96e55069ad45998e63220e03388e71856f4bc448
Author:     Joseph Myers <joseph@codesourcery.com>
AuthorDate: Wed Sep 18 13:22:24 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 22:59:51 2019 +0100

    Fix RISC-V vfork build with Linux 5.3 kernel headers (ChangeLog addition)
    
    Building glibc for RISC-V with Linux 5.3 kernel headers fails because
    <linux/sched.h>, included in vfork.S for CLONE_* constants, contains a
    structure definition not safe for inclusion in assembly code.
    
    All other architectures already avoid use of that header in vfork.S,
    either defining the CLONE_* constants locally or embedding the
    required values directly in the relevant instruction, where they
    implement vfork using the clone syscall (see the implementations for
    aarch64, ia64, mips and nios2).  This patch makes the RISC-V version
    define the constants locally like the other architectures.
    
    Tested build for all three RISC-V configurations in
    build-many-glibcs.py with Linux 5.3 headers.
    
            * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
            <linux/sched.h>.
            (CLONE_VM): New macro.
            (CLONE_VFORK): Likewise.
    
    (cherry picked from commit 8cacbcf4a984ccac24efedb795d9c8a7f149d17b)
    (cherry picked from commit a6aaabd036d735a1b412f441bf6c706832655598)

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit 3500adc7a96d4834bf1e0c920a0378996fef557d
Author:     Aurelien Jarno <aurelien@aurel32.net>
AuthorDate: Sat Sep 14 18:22:52 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 22:58:08 2019 +0100

    alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986]
    
    On alpha, Linux kernel 5.1 added the standard getegid, geteuid and
    getppid syscalls (commit ecf7e0a4ad15287). Up to now alpha was using
    the corresponding OSF1 syscalls through:
     - sysdeps/unix/alpha/getegid.S
     - sysdeps/unix/alpha/geteuid.S
     - sysdeps/unix/alpha/getppid.S
    
    When building against kernel headers >= 5.1, the glibc now use the new
    syscalls through sysdeps/unix/sysv/linux/syscalls.list. When it is then
    used with an older kernel, the corresponding 3 functions fail.
    
    A quick fix is to move the OSF1 wrappers under the
    sysdeps/unix/sysv/linux/alpha directory so they override the standard
    linux ones. A better fix would be to try the new syscalls and fallback
    to the old OSF1 in case the new ones fail. This can be implemented in
    a later commit.
    
    Changelog:
            [BZ #24986]
            * sysdeps/unix/alpha/getegid.S: Move to ...
            * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
            * sysdeps/unix/alpha/geteuid.S: Move to ...
            * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
            * sysdeps/unix/alpha/getppid.S: Move to ...
            * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
    (cherry picked from commit 1a6566094d3097f4a3037ab5555cddc6cb11c3a3)
    (cherry picked from commit b1299aab223503e3ba2b447c3ec4f6f0197aa824)

 ChangeLog                                     | 10 ++++++++++
 NEWS                                          |  2 ++
 sysdeps/unix/{ => sysv/linux}/alpha/getegid.S |  0
 sysdeps/unix/{ => sysv/linux}/alpha/geteuid.S |  0
 sysdeps/unix/{ => sysv/linux}/alpha/getppid.S |  0
 5 files changed, 12 insertions(+)

commit a87e2d232ca656a796fc1a164cd791a49e6a1783
Author:     Adhemerval Zanella <adhemerval.zanella@linaro.org>
AuthorDate: Thu Aug 1 09:19:34 2019 -0300
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 22:57:47 2019 +0100

    hppa: Update libm-tests-ulps
    
    The make regen-ulps was done on a PA8900 with 8.3.0.
    
            * sysdeps/hppa/fpu/libm-test-ulps: Update.
    
    (cherry picked from commit 3175dcc1e67425ad471caddc3d3cfae357de26ff)
    (cherry picked from commit 3c3f8dc307a08f586718ded347bfc11a27becc1e)

 ChangeLog                       |  4 ++
 sysdeps/hppa/fpu/libm-test-ulps | 88 ++++++++++++++++++++---------------------
 2 files changed, 48 insertions(+), 44 deletions(-)

commit 24706df42e07f8d8abbc69ecbfff91e96673989c
Author:     Aurelien Jarno <aurelien@aurel32.net>
AuthorDate: Tue Sep 3 21:35:51 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 22:57:26 2019 +0100

    Update Alpha libm-test-ulps
    
    Changelog:
    
            * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
    
    (cherry picked from commit b5367a08ae810e3c648fb036f2e5766204f9d83f)
    (cherry picked from commit 5438639cffe9323a5b766aff505f8f0462e10bd2)

 ChangeLog                        |  4 ++++
 sysdeps/alpha/fpu/libm-test-ulps | 16 ++++++++--------
 2 files changed, 12 insertions(+), 8 deletions(-)

commit 338b08f39c7405cb8eecd5f35c53dcce8512e384
Author:     Rafal Luzynski <digitalfreak@lingonborough.com>
AuthorDate: Thu Aug 22 23:50:04 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Nov 25 22:57:09 2019 +0100

    Chinese locales: Set first_weekday to 2 (bug 24682).
    
    The first day of the week in China (Mainland) should be Monday according
    to the national standard GB/T 7408-2005.  References:
    
    * https://www.doc88.com/p-1166696540287.html
    * https://unicode-org.atlassian.net/browse/CLDR-11510
    
            [BZ #24682]
            * NEWS: Mention this bug fixed.
            * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
            * localedata/locales/ug_CN (first_weekday): Likewise.
            * localedata/locales/zh_CN (first_weekday): Likewise.
    
    (cherry picked from commit c0fd3244e71db39cef1e2d1d8ba12bb8b7375ce4)
    (cherry picked from commit d74461fa348de4176894f98672cb9ce721e26676)

 ChangeLog                | 8 ++++++++
 NEWS                     | 2 ++
 localedata/locales/bo_CN | 1 +
 localedata/locales/ug_CN | 1 +
 localedata/locales/zh_CN | 1 +
 5 files changed, 13 insertions(+)

commit 5acc30bf94a38e74b301c1c1cb3605f5c8b165f5 (tag: gentoo/glibc-2.30-3)
Author:     Joseph Myers <joseph@codesourcery.com>
AuthorDate: Wed Sep 18 13:22:24 2019 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: Tue Oct 22 18:55:56 2019 +0100

    Fix RISC-V vfork build with Linux 5.3 kernel headers.
    
    Building glibc for RISC-V with Linux 5.3 kernel headers fails because
    <linux/sched.h>, included in vfork.S for CLONE_* constants, contains a
    structure definition not safe for inclusion in assembly code.
    
    All other architectures already avoid use of that header in vfork.S,
    either defining the CLONE_* constants locally or embedding the
    required values directly in the relevant instruction, where they
    implement vfork using the clone syscall (see the implementations for
    aarch64, ia64, mips and nios2).  This patch makes the RISC-V version
    define the constants locally like the other architectures.
    
    Tested build for all three RISC-V configurations in
    build-many-glibcs.py with Linux 5.3 headers.
    
            * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
            <linux/sched.h>.
            (CLONE_VM): New macro.
            (CLONE_VFORK): Likewise.
    
    Cherry-picked upstream commit 8cacbcf4a984ccac24efedb795d9c8a7f149d17b.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sysdeps/unix/sysv/linux/riscv/vfork.S | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 0ff6ed9d0528c7119048b766f3fa4c33af916330 (tag: gentoo/glibc-2.30-2)
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: Sun Sep 1 17:36:22 2019 +0100
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: Sun Sep 1 17:38:18 2019 +0100

    Revert "Gentoo: Fix 'make install-headers' when cross-compiler is not available yet."
    
    This reverts commit 6cbeeefee981729532160767e3dbbc6ff37295d9.
    
    In https://sourceware.org/PR24577 we discovered that riscv
    can't really install libc headers as it needs a cross-compiler.
    
    Bug: https://sourceware.org/PR24577
    Bug: https://bugs.gentoo.org/692052
    Bug: https://bugs.gentoo.org/686248

 Makerules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2aebca3c0f66ae24da775bc77c387132edc17dd7 (tag: gentoo/glibc-2.30-1)
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Sat Aug 3 01:45:43 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:45:43 2019 +0200

    [no-patch] Gentoo: Add trigger variable for compiled-locales and warning to locale-gen
    
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 scripts/gentoo/extra/locale/locale-gen | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit d3fa83d11a29b5f64e99bd3b5d9883298387e8a1
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: Thu Jul 25 22:54:02 2019 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:06 2019 +0200

    Gentoo: Fix 'make install-headers' when cross-compiler is not available yet.
    
    Gentoo passes CPPFLAGS='-D__riscv_xlen=64 ... ' to work it around.
    
    Unfortunately depend file generation does not use $(CPPFLAGS).
    This causes install to fail as:
    
    ../sysdeps/riscv/bits/wordsize.h:22:3: error: #error unsupported ABI
       22 | # error unsupported ABI
          |   ^~~~~
    ../sysdeps/riscv/bits/wordsize.h:28:3: error: #error "rv32i-based targets are not supported"
       28 | # error "rv32i-based targets are not supported"
          |   ^~~~~
    
    The fix is to pass through 'CPPFLAGS' (and 'CFLAGS' while at it).
    
    Bug: https://bugs.gentoo.org/686248
    Bug: https://sourceware.org/PR24577
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 Makerules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 22ec73236d4659b893cb348838b1ecf7a6c7e1d0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Fri Dec 14 20:43:04 2018 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:06 2019 +0200

    Gentoo: force -O0 in conform tests to survive $CC changes
    
    In bug #659030 Gentoo started passing user's CFLAGS via $CC variable.
    conform tests should but are not ready to handle -O1/-O2 yet.
    Tests fail to validate headers due to inlining of weak symbol aliases
    and other problems. Let's force it back to -O0 until it's fixed upstream.
    
    Original patch by Sergei, ported to the new python test framework by Andreas
    
    Bug: https://bugs.gentoo.org/659030
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 conform/conformtest.py   | 6 ++++--
 conform/linknamespace.py | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

commit 003c031c2597a515f302898af927eceef84c6889
Author:     Mike FABIAN <mfabian@redhat.com>
AuthorDate: Mon Aug 10 15:58:12 2015 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:06 2019 +0200

    Gentoo: Add a C.UTF-8 locale
    
    Source:
    https://src.fedoraproject.org/rpms/glibc/raw/master/f/glibc-c-utf8-locale.patch
    
    Notes from there:
    This patch needs to upstream as part of Carlos O'Donell
    <carlos@redhat.com>'s work on enabling upstream C.UTF-8 support. This
    work is currently blocked on cleaning up the test results to prove that
    full code-point sorting is working as intended.
    Note that this patch does not provide full code-point sorting as
    expected.
    This patch needs to upstream as soon as possible since it would be nice
    to have this in F29 and fixed.
    
    Further information:
    https://bugzilla.redhat.com/show_bug.cgi?id=902094
    https://sourceware.org/bugzilla/show_bug.cgi?id=17318
    https://bugs.gentoo.org/671024

 localedata/SUPPORTED |   1 +
 localedata/locales/C | 238 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 239 insertions(+)

commit 4d38d13ed939b942a9657773249bab148b5b5275
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Mon Oct 22 22:34:13 2018 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:06 2019 +0200

    Gentoo: Adapt to Gentoo-specific /etc/mail/aliases
    
    Patch by pacho2
    
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    (cherry picked from commit 4e616cda056f471b799beba2b1cedc787ad4ecc0)

 nss/nss_files/files-alias.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 294cced718a1531215389258fcf838f1f2ac948f
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Wed Jan 17 01:02:19 2018 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:05 2019 +0200

    Gentoo: Disable test that fails because of the gethostbyname4_r revert

 nss/Makefile | 1 -
 1 file changed, 1 deletion(-)

commit ea0c184fd0f1a0b9c80a469a08d9efdffbc5bc43
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Mon Sep 11 13:14:46 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:05 2019 +0200

    Gentoo: disable tests that fail only in sandbox

 elf/Makefile                     | 16 +---------------
 io/Makefile                      |  2 +-
 nptl/Makefile                    |  8 ++++----
 posix/Makefile                   |  4 ++--
 resolv/Makefile                  |  2 --
 sysdeps/unix/sysv/linux/Makefile |  2 +-
 6 files changed, 9 insertions(+), 25 deletions(-)

commit 34a2e31923f4c924fd9b8095aaee4fa1c40525e0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Tue Aug 29 22:58:50 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:05 2019 +0200

    Revert "        * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r"
    
    This reverts commit 8479f23aa1d5e5477a37f46823856bdafaedfa46.
    
    See for the background
      https://sourceware.org/bugzilla/show_bug.cgi?id=16826
      https://bugs.gentoo.org/show_bug.cgi?id=600632
    
    This makes test resolv/tst-res_use_inet6 fail. Disable it.
    (cherry picked from commit 06a2a073a2c6fb3e1489af96e125daca248d0a03)

 sysdeps/posix/getaddrinfo.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

commit 83c1785e78ff514c73ece098d6f5af53fc5218a4
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Wed Aug 23 13:26:49 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:05 2019 +0200

    [no-patch] Gentoo: Add support files
    
    * Source: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/glibc/extra/
    * The make-tarball script has been completely rewritten to work with git.
    * The c-stubs addon has been dropped since the addon mechanism is gone.
    * Updates to the nscd init script, see Gentoo bug 492814
    * Make patchset generation script also work with master
    * locale-gen: suppress ignored error when emptying already empty directory, bug 647188

 scripts/gentoo/README.Gentoo.patches     |  26 ++
 scripts/gentoo/extra/README              |   5 +
 scripts/gentoo/extra/etc/host.conf       |  24 ++
 scripts/gentoo/extra/etc/nscd            |  85 ++++++
 scripts/gentoo/extra/locale/locale-gen   | 433 +++++++++++++++++++++++++++++++
 scripts/gentoo/extra/locale/locale-gen.8 |  69 +++++
 scripts/gentoo/extra/locale/locale.gen   |  36 +++
 scripts/gentoo/extra/locale/locale.gen.5 |  77 ++++++
 scripts/gentoo/make-tarball.sh           | 107 ++++++++
 9 files changed, 862 insertions(+)

commit cf4e9d12e2affabdf30b1d3548c6d34b43280358
Author:     Stephanie J. Lockwood-Childs <wormo@gentoo.org>
AuthorDate: Tue Mar 13 01:57:21 2007 -0400
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:05 2019 +0200

    Gentoo: support running tests under sandbox
    
    when glibc runs its tests, it does so by invoking the local library loader.
    in Gentoo, we build/run inside of our "sandbox" which itself is linked against
    libdl (so that it can load libraries and pull out symbols).  the trouble
    is that when you upgrade from an older glibc to the new one, often times
    internal symbols change name or abi.  this is normally OK as you cannot use
    libc.so from say version 2.3.6 but libpthread.so from say version 2.5, so
    we always say "keep all of the glibc libraries from the same build".  but
    when glibc runs its tests, it uses dynamic paths to point to its new local
    copies of libraries.  if the test doesnt use libdl, then glibc doesnt add
    its path, and when sandbox triggers the loading of libdl, glibc does so
    from the host system system.  this gets us into the case of all libraries
    are from the locally compiled version of glibc except for libdl.so.
    
    http://bugs.gentoo.org/56898

 Makeconfig                  | 2 +-
 iconvdata/run-iconv-test.sh | 2 +-
 nptl/tst-tls6.sh            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit f8fe6754f8d98e22615747cbb2654bb732fff2db
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Wed Apr 1 02:15:48 2009 -0400
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Aug 3 01:07:05 2019 +0200

    Gentoo: disable ldconfig during install
    
    Do not bother running ldconfig on DESTDIR.  It's a waste of time as we
    won't use the result (portage will rebuild the cache after install).
    Also, the Gentoo sandbox does not currently catch chroot() behavior so
    we end up (incorrectly) flagging it as a violation as a write to /etc.
    
    http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html
    https://bugs.gentoo.org/431038

 Makefile | 1 +
 1 file changed, 1 insertion(+)

commit be9a328c93834648e0bec106a1f86357d1a8c7e1
Author:     Florian Weimer <fweimer@redhat.com>
AuthorDate: Thu Aug 1 16:48:12 2019 +0200
Commit:     Florian Weimer <fweimer@redhat.com>
CommitDate: Thu Aug 1 16:48:12 2019 +0200

    malloc: Remove unwanted leading whitespace in malloc_info [BZ #24867]
    
    It was introduced in commit 6c8dbf00f536d78b1937b5af6f57be47fd376344
    ("Reformat malloc to gnu style.").
    
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
    (cherry picked from commit b0f6679bcd738ea244a14acd879d974901e56c8e)

 ChangeLog       | 6 ++++++
 NEWS            | 7 +++++++
 malloc/malloc.c | 2 +-
 3 files changed, 14 insertions(+), 1 deletion(-)
