...
 
Commits (19)
......@@ -50,19 +50,59 @@ glibc (2.29-0experimental0) UNRELEASED; urgency=medium
- debian/patches/any/git-libio-stdout-putc.diff: rebased.
* debian/control.in/main, debian/rules: drop the multiarch-support package.
Closes: #910669.
* debian/glibc-source.filelist, debian/libc6.symbols.powerpcspe,
debian/rules.d/control.mk, debian/sysdeps/powerpcspe.mk,
debian/testsuite-xfail-debian.mk: Drop the powerpcspe architecture, it is
not supported anymore by GCC 9 and will be removed in GLIBC 2.30.
* debian/rules: do not export SHELL, it is already set through configparms.
* debian/patches/git-pexpect-pretty-printers.diff: backport pretty printer
fix to support recent versions of GDB with color output.
* debian/testsuite-xfail-debian.mk: drop XFAILs that were due to kernel bugs
which are now fixed in both oldstable and stable kernels.
* debian/rules: drop -no-pie -fno-PIE options. This is now fully supported
by the GNU libc.
[ Sven Mueller ]
* debian/rules: honor noudeb build profile.
-- Adam Conrad <adconrad@0c3.net> Wed, 20 Feb 2019 01:22:52 -0700
glibc (2.28-8) UNRELEASED; urgency=medium
glibc (2.28-10) unstable; urgency=medium
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch:
- Fix infinite loop in pldd. Closes: #913929.
-- Aurelien Jarno <aurel32@debian.org> Wed, 01 May 2019 19:24:19 +0200
glibc (2.28-9) unstable; urgency=medium
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch:
- Fix heap-based buffer over-read in regular-expression matching
(CVE-2019-9169). Closes: #924612.
- Add entry for the new Japanese era to the ja_JP locale. Closes:
#927914.
[ Adam Conrad ]
* debian/patches/arm/unsubmitted-ldso-abi-check.diff: Fix rtld segv in
dl_open() introduced via merge with upstream at 2.28 (LP: #1821677)
-- Aurelien Jarno <aurel32@debian.org> Thu, 25 Apr 2019 21:12:03 +0200
glibc (2.28-8) unstable; urgency=medium
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch.
* Update Danish debconf translation, by Joe Hansen. Closes: #923055.
[ Samuel Thibault ]
* debian/patches/hurd-i386/libpthread_sigs.diff: Enable patch to restore
per-thread signal distribution, lost on upgrading to 2.28. Fixes go.
* debian/patches/hurd-i386/git-renameat2.diff: New patch, fixes renameat2,
now used by coreutils.
-- Aurelien Jarno <aurel32@debian.org> Mon, 18 Feb 2019 08:16:13 +0100
-- Samuel Thibault <sthibault@debian.org> Wed, 27 Feb 2019 21:56:01 -0800
glibc (2.28-7) unstable; urgency=medium
......
......@@ -140,7 +140,7 @@ Description: GNU C Library: Name Service Cache Daemon
slow services like LDAP, NIS or NIS+.
Package: libc6
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Section: libs
Priority: optional
Multi-Arch: same
......@@ -172,7 +172,7 @@ Description: GNU C Library: Shared libraries
and the standard math library, as well as many others.
Package: libc6-dev
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Section: libdevel
Priority: optional
Multi-Arch: same
......@@ -187,7 +187,7 @@ Description: GNU C Library: Development Libraries and Header Files
and link programs which use the standard C library.
Package: libc6-dbg
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Section: debug
Priority: optional
Multi-Arch: same
......@@ -199,7 +199,7 @@ Description: GNU C Library: detached debugging symbols
library.
Package: libc6-pic
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Section: libdevel
Priority: optional
Multi-Arch: same
......@@ -215,7 +215,7 @@ Description: GNU C Library: PIC archive library
Package: libc6-udeb
Package-Type: udeb
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32
Section: debian-installer
Priority: optional
Provides: libc6, libc-udeb, libnss-dns-udeb, libnss-files-udeb, ${locale-compat:Depends}
......
......@@ -67,7 +67,6 @@ debian/libc6.symbols.mipsn32r6el
debian/libc6.symbols.mipsr6
debian/libc6.symbols.mipsr6el
debian/libc6.symbols.powerpc
debian/libc6.symbols.powerpcspe
debian/libc6.symbols.ppc64
debian/libc6.symbols.ppc64el
debian/libc6.symbols.s390x
......
#include "libc6.symbols.common"
ld.so.1 #PACKAGE# #MINVER#
#include "symbols.wildcards"
### TLS support enabled in Debian upload 2.3.5
__tls_get_addr@GLIBC_2.3 2.3.5
libc.so.6 #PACKAGE# #MINVER#
#include "symbols.wildcards"
###
### Override headers already defined in libc6.symbols.common
###
libpthread.so.0 #PACKAGE# (>= 2.3.5), #PACKAGE# #MINVER#
#include "symbols.wildcards"
2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* scripts/test_printers_common.py: Set TERM to a known harmless
value.
--- a/scripts/test_printers_common.py
+++ b/scripts/test_printers_common.py
@@ -60,6 +60,10 @@ TIMEOUTFACTOR = os.environ.get('TIMEOUTFACTOR')
if TIMEOUTFACTOR:
timeout = int(TIMEOUTFACTOR)
+# Otherwise GDB is run in interactive mode and readline may send escape
+# sequences confusing output for pexpect.
+os.environ["TERM"]="dumb"
+
try:
# Check the gdb version.
version_cmd = '{0} --version'.format(gdb_invocation, timeout=timeout)
......@@ -222,10 +222,10 @@
if (ph->p_type == PT_NOTE && ph->p_filesz >= 32 && ph->p_align >= 4)
{
ElfW(Addr) size = ph->p_filesz;
@@ -1751,6 +1955,21 @@
@@ -1751,6 +1955,20 @@
break;
}
free (abi_note_malloced);
}
+ if (-1 != fd)
+ {
+ int error = arch_specific_checks(fd, name, ehdr);
......@@ -239,8 +239,7 @@
+ goto call_lose;
+ }
+ }
+
+ }
+ }
free (abi_note_malloced);
}
return fd;
}
commit 1b2184177553ce4ef8458034927ef50854be2af6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Feb 27 07:53:13 2019 -0800
hurd: Add renameat2 support for RENAME_NOREPLACE
* include/stdio.h (__renameat2): New hidden prototype.
* stdio-common/renameat2.c (__renameat2): Add hidden definition.
* sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
* sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function, and
add support for RENAME_NOREPLACE.
* sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
diff --git a/include/stdio.h b/include/stdio.h
index 7d1877ea5e..5302e61024 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -261,6 +261,8 @@ __putc_unlocked (int __c, FILE *__stream)
extern __typeof (renameat) __renameat;
libc_hidden_proto (__renameat)
+extern __typeof (renameat2) __renameat2;
+libc_hidden_proto (__renameat2)
# endif /* not _ISOMAC */
#endif /* stdio.h */
diff --git a/stdio-common/renameat2.c b/stdio-common/renameat2.c
index ce60173455..00cb2ec6c5 100644
--- a/stdio-common/renameat2.c
+++ b/stdio-common/renameat2.c
@@ -20,7 +20,7 @@
#include <stdio.h>
int
-renameat2 (int oldfd, const char *old, int newfd, const char *new,
+__renameat2 (int oldfd, const char *old, int newfd, const char *new,
unsigned int flags)
{
if (flags == 0)
@@ -28,3 +28,5 @@ renameat2 (int oldfd, const char *old, int newfd, const char *new,
__set_errno (EINVAL);
return -1;
}
+libc_hidden_def (__renameat2)
+weak_alias (__renameat2, renameat2)
diff --git a/sysdeps/mach/hurd/renameat.c b/sysdeps/mach/hurd/renameat.c
index 9aa231091c..a05f550a57 100644
--- a/sysdeps/mach/hurd/renameat.c
+++ b/sysdeps/mach/hurd/renameat.c
@@ -24,26 +24,7 @@
int
__renameat (int oldfd, const char *old, int newfd, const char *new)
{
- error_t err;
- file_t olddir, newdir;
- const char *oldname, *newname;
-
- olddir = __directory_name_split_at (oldfd, old, (char **) &oldname);
- if (olddir == MACH_PORT_NULL)
- return -1;
- newdir = __directory_name_split_at (newfd, new, (char **) &newname);
- if (newdir == MACH_PORT_NULL)
- {
- __mach_port_deallocate (__mach_task_self (), olddir);
- return -1;
- }
-
- err = __dir_rename (olddir, oldname, newdir, newname, 0);
- __mach_port_deallocate (__mach_task_self (), olddir);
- __mach_port_deallocate (__mach_task_self (), newdir);
- if (err)
- return __hurd_fail (err);
- return 0;
+ return __renameat2 (oldfd, old, newfd, new, 0);
}
libc_hidden_def (__renameat)
weak_alias (__renameat, renameat)
diff --git a/sysdeps/mach/hurd/renameat2.c b/sysdeps/mach/hurd/renameat2.c
new file mode 100644
index 0000000000..2ed49cbac9
--- /dev/null
+++ b/sysdeps/mach/hurd/renameat2.c
@@ -0,0 +1,56 @@
+/* Rename a file using relative source and destination names. Hurd version.
+ Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include <stdio.h>
+#include <hurd.h>
+#include <hurd/fd.h>
+
+/* Rename the file OLD relative to OLDFD to NEW relative to NEWFD. */
+int
+__renameat2 (int oldfd, const char *old, int newfd, const char *new,
+ unsigned int flags)
+{
+ error_t err;
+ file_t olddir, newdir;
+ const char *oldname, *newname;
+ int excl = 0;
+
+ if (flags & (RENAME_EXCHANGE | RENAME_WHITEOUT))
+ return __hurd_fail (ENOSYS);
+ if (flags & RENAME_NOREPLACE)
+ excl = 1;
+
+ olddir = __directory_name_split_at (oldfd, old, (char **) &oldname);
+ if (olddir == MACH_PORT_NULL)
+ return -1;
+ newdir = __directory_name_split_at (newfd, new, (char **) &newname);
+ if (newdir == MACH_PORT_NULL)
+ {
+ __mach_port_deallocate (__mach_task_self (), olddir);
+ return -1;
+ }
+
+ err = __dir_rename (olddir, oldname, newdir, newname, excl);
+ __mach_port_deallocate (__mach_task_self (), olddir);
+ __mach_port_deallocate (__mach_task_self (), newdir);
+ if (err)
+ return __hurd_fail (err);
+ return 0;
+}
+libc_hidden_def (__renameat2)
+weak_alias (__renameat2, renameat2)
diff --git a/sysdeps/unix/sysv/linux/renameat2.c b/sysdeps/unix/sysv/linux/renameat2.c
index 566868cc93..a9cc2ea6b8 100644
--- a/sysdeps/unix/sysv/linux/renameat2.c
+++ b/sysdeps/unix/sysv/linux/renameat2.c
@@ -21,7 +21,7 @@
#include <sysdep.h>
int
-renameat2 (int oldfd, const char *old, int newfd, const char *new,
+__renameat2 (int oldfd, const char *old, int newfd, const char *new,
unsigned int flags)
{
#if !defined (__NR_renameat) || defined (__ASSUME_RENAMEAT2)
@@ -42,3 +42,5 @@ renameat2 (int oldfd, const char *old, int newfd, const char *new,
return -1;
#endif
}
+libc_hidden_def (__renameat2)
+weak_alias (__renameat2, renameat2)
......@@ -78,6 +78,7 @@ hurd-i386/local-exec_filename.diff
hurd-i386/libpthread_sigs.diff
hurd-i386/local-hurd_sigstate-PLT.diff
hurd-i386/tg-WRLCK-upgrade.diff
hurd-i386/git-renameat2.diff
i386/local-biarch.diff
i386/unsubmitted-quiet-ldconfig.diff
......@@ -137,3 +138,4 @@ any/local-bootstrap-headers.diff
any/submitted-resolv-unaligned.diff
any/local-cudacc-float128.diff
any/git-libio-stdout-putc.diff
any/git-pexpect-pretty-printers.diff
# Danish translation eglibc.
# Copyright (C) 2016 eglibc & nedenstående oversættere.
# This file is distributed under the same license as the eglibc package.
# Danish translation glibc.
# Copyright (C) 2019 glibc & nedenstående oversættere.
# This file is distributed under the same license as the glibc package.
# Morten Brix Pedersen <morten@wtf.dk>. 2006.
# Joe Hansen <joedalton2@yahoo.dk>, 2010, 2012, 2016.
# Joe Hansen <joedalton2@yahoo.dk>, 2010, 2012, 2016, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: eglibc\n"
"Project-Id-Version: glibc\n"
"Report-Msgid-Bugs-To: glibc@packages.debian.org\n"
"POT-Creation-Date: 2017-08-26 13:35+0200\n"
"PO-Revision-Date: 2016-07-10 14:04+0200\n"
"PO-Revision-Date: 2019-02-23 14:04+0200\n"
"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
"Language-Team: Danish <debian-l10n-danish@lists.debian.org>\n"
"Language: da\n"
......@@ -263,16 +263,11 @@ msgstr "Kerneversion er ikke understøttet"
#. Type: note
#. Description
#: ../debhelper.in/libc.templates:7001
#, fuzzy
#| msgid ""
#| "This version of the GNU libc requires kernel version ${kernel_ver} or "
#| "later. Older versions might work but are not officially supported. "
#| "Please consider upgrading your kernel."
msgid ""
"This version of the GNU libc requires kernel version ${kernel_ver} or "
"later. Older versions might work but are not officially supported by "
"Debian. Please consider upgrading your kernel."
msgstr ""
"Denne version af GNU libc kræver kerneversionen ${kernel_ver} eller senere. "
"Ældre versioner kan fungere men er ikke officielt understøttet. Overvej at "
"opgradere din kerne."
"Ældre versioner kan fungere men er ikke officielt understøttet af Debian. "
"Overvej at opgradere din kerne."
......@@ -33,8 +33,6 @@ stamp := $(CURDIR)/stamp-dir/
DUMMY := $(shell mkdir -p $(stamp))
# Beyond here you shouldn't need to customise anything:
export SHELL = /bin/bash -e
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_ENDIAN ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
......@@ -102,8 +100,8 @@ RUN_TESTSUITE = yes
TIMEOUTFACTOR = 25
# Set cross and native compiler names, including version.
CC = $(DEB_HOST_GNU_TYPE)-$(BASE_CC)$(DEB_GCC_VERSION) -no-pie -fno-PIE
CXX = $(DEB_HOST_GNU_TYPE)-$(BASE_CXX)$(DEB_GCC_VERSION) -no-pie -fno-PIE
CC = $(DEB_HOST_GNU_TYPE)-$(BASE_CC)$(DEB_GCC_VERSION)
CXX = $(DEB_HOST_GNU_TYPE)-$(BASE_CXX)$(DEB_GCC_VERSION)
MIG = $(DEB_HOST_GNU_TYPE)-$(BASE_MIG)
BUILD_CC = $(DEB_BUILD_GNU_TYPE)-$(BASE_CC)
BUILD_CXX = $(DEB_BUILD_GNU_TYPE)-$(BASE_CXX)
......@@ -138,7 +136,11 @@ ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
else
DEB_ARCH_REGULAR_PACKAGES = $(libc) $(libc)-dev $(libc)-dbg $(libc)-pic libc-bin libc-dev-bin
DEB_INDEP_REGULAR_PACKAGES = glibc-doc glibc-source libc-l10n locales
DEB_UDEB_PACKAGES = $(libc)-udeb
ifneq ($(filter noudeb,$(DEB_BUILD_PROFILES)),)
DEB_UDEB_PACKAGES =
else
DEB_UDEB_PACKAGES = $(libc)-udeb
endif
## Locales can only be pre-generated during native compiles
ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
DEB_ARCH_REGULAR_PACKAGES += locales-all
......
......@@ -2,7 +2,7 @@ libc_packages := libc6 libc6.1 libc0.1 libc0.3
libc0_1_archs := kfreebsd-amd64 kfreebsd-i386
libc0_3_archs := hurd-i386
libc6_archs := amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el \
mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 \
mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc ppc64 ppc64el riscv64 \
sparc sparc64 s390x sh3 sh4 x32
libc6_1_archs := alpha ia64
......
# configuration options for all flavours
extra_config_options = --without-fp
......@@ -211,17 +211,15 @@ test-xfail-tst-pkey = yes
# This test fails due to a kernel bug when building armhf on an ARM64
# machine. See bug #904385.
test-xfail-tst-signal6 = yes
# This test has regressed with recent kernels
test-xfail-tst-thread-exit-clobber = yes
# These (new in 2.29) tests appear to fail when building armhf on aarch64
test-xfail-tst-minsigstksz-1 = yes
test-xfail-tst-minsigstksz-2 = yes
test-xfail-tst-minsigstksz-3 = yes
test-xfail-tst-minsigstksz-3a = yes
test-xfail-tst-minsigstksz-4 = yes
test-xfail-tst-xsigstack = yes
# This test has regressed with recent kernels
test-xfail-tst-thread-exit-clobber = yes
endif
......@@ -932,38 +930,6 @@ test-xfail-tst-pkey = yes
endif
######################################################################
# powerpcspe
######################################################################
ifeq ($(config-machine)-$(config-os),powerpc-linux-gnuspe)
test-xfail-annexc = yes
test-xfail-bug-nextafter = yes
test-xfail-bug-nexttoward = yes
test-xfail-check-localplt = yes
test-xfail-iconv-test = yes
test-xfail-isomac = yes
test-xfail-test-fenv = yes
test-xfail-test-float32 = yes
test-xfail-test-float64 = yes
test-xfail-test-ifloat32 = yes
test-xfail-test-ifloat64 = yes
test-xfail-test-misc = yes
test-xfail-tst-backtrace5 = yes
test-xfail-tst-backtrace6 = yes
test-xfail-tst-cancel4 = yes
test-xfail-tst-cancel5 = yes
test-xfail-tst-cancelx4 = yes
test-xfail-tst-cancelx5 = yes
test-xfail-tst-key1 = yes
test-xfail-tst-key4 = yes
test-xfail-tst-setcontext-fpscr = yes
# The glibc implementation of pkey_get and pkey_set are the stub
# implementations.
test-xfail-tst-pkey = yes
endif
######################################################################
# riscv64
# ######################################################################
......@@ -1103,9 +1069,4 @@ test-xfail-tst-backtrace6 = yes
test-xfail-tst-mqueue5 = yes
test-xfail-tst-platform-1 = yes
test-xfail-tst-waitid = yes
# This is a kernel bug in the compat layer. See:
# https://patchwork.kernel.org/patch/10716699
test-xfail-tst-preadvwritev2 = yes
test-xfail-tst-preadvwritev64v2 = yes
endif