lp:glibc

Created by VCS imports and last modified
Get this branch:
bzr branch lp:glibc

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
GLibC
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://sourceware.org/git/glibc.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on russkaya and finished taking 1 minute — see the log
Import started on pear and finished taking 40 seconds — see the log
Import started on russkaya and finished taking 50 seconds — see the log
Import started on pear and finished taking 30 seconds — see the log

Recent revisions

28002. By Adhemerval Zanella

Optimize sigrelse implementation

This patch simplifies sighold a bit by removing an extra sigprocmask
and using SIG_BLOCK (which union of the current set and the set argument).

Checked on x86_64-linux-gnu.

 * signal/sighold.c (sighold): Optimize implementation.

Signed-off-by: Adhemerval Zanella <email address hidden>

28001. By Adhemerval Zanella

Cleanup sigpause implementation

This patch simplify sigpause by remobing the single thread optimization
since it will be handled already by the __sigsuspend call.

Checked on x86_64-linux-gnu.

 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
 (__sigpause): Rely on __sigsuspend to implement single thread
 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.

Signed-off-by: Adhemerval Zanella <email address hidden>
Reviewed-by: Zack Weinberg <email address hidden>

28000. By Joseph Myers <email address hidden>

Use Linux 4.14 in build-many-glibcs.py.

 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
 kernel version to 4.14.

27999. By Steve Ellcey

Check length of ifname before copying it into to ifreq structure.

 [BZ #22442]
 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
 Check if ifname is too long.

27998. By LukeShu

linux: Include <sysdep-cancel.h> for epoll_wait

The epoll_wait wrapper uses the raw syscall if __NR_epoll_wait is defined,
and falls back to calling epoll_pwait(..., NULL) if it isn't defined.
However, it didn't include the appropriate headers for __NR_epoll_wait to
be defined, so it was *always* falling back to calling epoll_pwait!

This mistake was introduced in b62c3815912bc679a966134affdedd3f35ae8621,
when epoll_wait changed from being in syscalls.list to always having a C
wrapper.

Reviewed-by: Adhemerval Zanella <email address hidden>

27997. By Mike FABIAN <email address hidden>

ka_GE locale: Add “X” back to yesexpr.

 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
 was accidentally lost.

27996. By Mike FABIAN <email address hidden>

az_IR locale: Add standard copyright header

 * localedata/locales/az_IR: Add standard copyright header.

27995. By Florian Weimer

malloc: Account for all heaps in an arena in malloc_info [BZ #22439]

This commit adds a "subheaps" field to the malloc_info output that
shows the number of heaps that were allocated to extend a non-main
arena.

Reviewed-by: Siddhesh Poyarekar <email address hidden>

27994. By Florian Weimer

malloc: Add missing arena lock in malloc_info [BZ #22408]

Obtain the size information while the arena lock is acquired, and only
print it later.

27993. By Joseph Myers <email address hidden>

Use __builtin_tgmath in tgmath.h with GCC 8 (bug 21660).

GCC mainline now supports __builtin_tgmath to allow <tgmath.h> macro
implementations that expand their arguments only once, so avoiding
exponential blowup in the size of macro expansions when calls to those
macros are nested in arguments to those macros.

This patch makes glibc's tgmath.h support using __builtin_tgmath, as a
much simpler and more efficient alternative to the existing
implementation. (As a side effect, the new feature would make it much
more practical to support decimal floating point in <tgmath.h> with
new compilers; currently, libdfp does not provide a <tgmath.h>
implementation, and making decimal arguments cause integer arguments
to be considered of type _Decimal64 instead of double would have been
very problematic in the old implementation.)

Tested for x86_64 (with GCC mainline).

 [BZ #21660]
 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
 (__floating_type): Likewise.
 (__real_integer_type): Likewise.
 (__complex_integer_type): Likewise.
 (__expr_is_real): Likewise.
 (__tgmath_real_type_sub): Likewise.
 (__tgmath_real_type): Likewise.
 (__tgmath_complex_type_sub): Likewise.
 (__tgmath_complex_type): Likewise.
 (__TGMATH_F128): Likewise.
 (__TGMATH_CF128): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
 new macros.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
 Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
 Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
 Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
 Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
 Likewise.
 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
 (cimag): Likewise.
 (creal): Likewise.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.