glibc:fw/getdents64

Last commit made on 2019-07-25
Get this branch:
git clone -b fw/getdents64 https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
fw/getdents64
Repository:
lp:glibc

Recent commits

3b43e4e... by Florian Weimer on 2019-07-25

Linux: Move getdents64 to <dirent.h>

This matches the location of the declaration in musl.

7e68156... by "H.J. Lu" <email address hidden> on 2019-07-24

x86-64: Compile branred.c with -mprefer-vector-width=128 [BZ #24603]

When compiled with -O3 and AVX, GCC 8 and 9 optimize some loops in
sysdeps/ieee754/dbl-64/branred.c with 256-bit vector instructions,
which leads to store forward stall:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579

There is no easy fix in compiler. This patch limits vector width to
128 bits to work around this issue. It improves performance of sin
and cos by more than 40% on Skylake compiled with -O3 -march=skylake.

Tested with GCC 7/8/9 on x86-64.

 [BZ #24603]
 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
 works.
 * sysdeps/x86_64/configure: Regenerated.
 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
 to -mprefer-vector-width=128 if supported.

82c664e... by Florian Weimer on 2019-07-24

build-many-glibcs.py: Use Linux 5.2 by default

7854ebf... by Florian Weimer on 2019-07-24

Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532]

The kernel changes for a 64-bit time_t on 32-bit architectures
resulted in <asm/socket.h> indirectly including <linux/posix_types.h>.
The latter is not namespace-clean for the POSIX version of
<sys/socket.h>.

This issue has persisted across several Linux releases, so this commit
creates our own copy of the SO_* definitions for !__USE_MISC mode.

The new test socket/tst-socket-consts ensures that the copy is
consistent with the kernel definitions (which vary across
architectures). The test is tricky to get right because CPPFLAGS
includes include/libc-symbols.h, which in turn defines _GNU_SOURCE
unconditionally.

Tested with build-many-glibcs.py. I verified that a discrepancy in
the definitions actually results in a failure of the
socket/tst-socket-consts test.

35e038c... by Tulio Magno Quites Machado Filho <email address hidden> on 2019-07-22

test-container: Install with $(all-subdirs) [BZ #24794]

Whenever a sub-make is created, it inherits the variable subdirs from its
parent. This is also true when make check is called with a restricted
list of subdirs. In this scenario, make install is executed "partially"
and testroot.pristine ends up with an incomplete installation.

 [BZ #24794]
 * Makefile (testroot.pristine/install.stamp): Pass
 subdirs='$(all-subdirs)' to make install.

Reviewed-by: DJ Delorie <email address hidden>

95da14d... by Tulio Magno Quites Machado Filho <email address hidden> on 2019-07-22

test-container: Avoid copying unintended system libraries

Some DSOs are distributed in hardware capability directories, e.g.
/usr/lib64/power7/libc.so.6
Whenever the processor is able to use one of these hardware-enabled
DSOs, testroot.pristine ends up with copies of glibc-provided libraries
from the system because it can't overwrite or remove them.

This patch avoids the unintended copies by executing ld.so with the same
arguments passed to each glibc test.

 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
 the same arguments used in all tests.

dcf36bc... by Szabolcs Nagy <email address hidden> on 2019-07-22

Add NEWS entry about the new AArch64 IFUNC resolver call ABI

The new IFUNC resolver call ABI was introduced in

commit 2b8a3c86e7606cf1b0a997dad8af2d45ae8989c3
Commit: Szabolcs Nagy <email address hidden>
CommitDate: 2019-07-04 11:13:32 +0100

    aarch64: new ifunc resolver ABI

See the commit log and the comments in sys/ifunc.h for details.

c7e4b68... by Diego on 2019-01-02

locale/C-translit.h.in: Cyrillic -> ASCII transliteration [BZ #2872]

This patch adds Cyrillic to plain ASCII transliteration table according
to GOST 7.79-2000 System B standard to the C locale.

 [BZ #2872]
 * locale/C-translit.h.in: Add Cyrillic transliteration.

1f7097d... by Florian Weimer on 2019-07-19

Linux: Update syscall-names.list to Linux 5.2

This adds the system call names fsconfig, fsmount, fsopen, fspick,
move_mount, open_tree.

Tested with build-many-glibcs.py.

3556658... by Carlos-0 on 2019-07-18

Regenerate po/libc.pot for 2.30 release.