Aurelien Jarno [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
Merge glibc (2.40-5) import into refs/heads/workingbranch
Aurelien Jarno [Thu, 19 Dec 2024 22:55:15 +0000 (23:55 +0100)]
[PATCH] posix: fix system when a child cannot be created [BZ #32450]
POSIX states that "if a child process cannot be created, or if the
termination status for the command language interpreter cannot be
obtained, system() shall return -1 and set errno to indicate the error."
In the glibc implementation it could happen when posix_spawn fails,
which happens when the underlying fork, vfork, or clone call fails. They
could fail with EAGAIN and ENOMEM.
Resolves: BZ #32450
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Gbp-Pq: Topic any
Gbp-Pq: Name git-posix-fix-system-when-a-child-cannot-be-created-BZ-3.patch
Aurelien Jarno [Sat, 14 Dec 2024 10:44:11 +0000 (11:44 +0100)]
[PATCH] iconv: do not report error exit with transliteration [BZ #32448]
Commit
6cbf845fcdc7 ("iconv: Preserve iconv -c error exit on invalid
inputs (bug 32046)") changed the error exit code to report an error when
an input character has been transliterated. This looks like a bug as the
moto in the iconv program is to report an error code in the same
condition as the iconv() function.
This happens because the STANDARD_TO_LOOP_ERR_HANDLER macro sets a
default value for result and later updates it if the transliteration
succeed. With the changes, setting the default value also marks the
input as illegal.
Fix that by setting up the default value of result only when the
transliteration is not used. This works because __gconv_transliterate()
calls __gconv_mark_illegal_input() to return an error. At the same time
also fix the typo outself -> ourselves.
Fixes: 6cbf845fcdc7
Resolves: BZ #32448
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-do-not-report-error-exit-with-transliteration-.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Input-buffering-for-the-iconv-program-bug-6050
commit
b55a3285f9b4174781e1f1faf0f26d6b63fa1aef
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Input buffering for the iconv program (bug 6050)
Do not read the entire input file into memory.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Input-buffering-for-the-iconv-program-bug-6050.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Multiple-on-command-line-should-not-fail-bug-3
commit
d8582b56d0c34f924863c21cc8642bc1b6deb29f
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Multiple - on command line should not fail (bug 32050)
Usually, the second and subsequent - return EOF immediately
and do not contribute to the output, but this is not an error.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Multiple-on-command-line-should-not-fail-bug-3.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Support-in-place-conversions-bug-10460-bug-320
commit
f432d9495d428eef0455376e4de666d0a6748040
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Support in-place conversions (bug 10460, bug 32033)
Check if any of the input files overlaps with the output file, and use
a temporary file in this case, so that the input is no clobbered
before it is read. This fixes bug 10460. It allows to use iconv
more easily as a functional replacement for GNU recode.
The updated output buffer management truncates the output file
if there is no input, fixing bug 32033.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Support-in-place-conversions-bug-10460-bug-320.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Preserve-iconv-c-error-exit-on-invalid-inputs-
commit
53ed84fee1647db907d40d36fd4294add6d9279f
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Preserve iconv -c error exit on invalid inputs (bug 32046)
In several converters, a __GCONV_ILLEGAL_INPUT result gets overwritten
with __GCONV_FULL_OUTPUT. As a result, iconv (the function) returns
E2BIG instead of EILSEQ. The iconv program does not see the original
EILSEQ failure, does not recognize the invalid input, and may
incorrectly exit successfully.
To address this, a new __flags bit is used to indicate a sticky input
error state. All __GCONV_ILLEGAL_INPUT results are replaced with a
function call that sets this new __GCONV_ENCOUNTERED_ILLEGAL_INPUT and
returns __GCONV_ILLEGAL_INPUT. The iconv program checks for
__GCONV_ENCOUNTERED_ILLEGAL_INPUT and overrides the exit status.
The converter changes introducing __gconv_mark_illegal_input are
mostly mechanical, except for the res variable initialization in
iconvdata/iso-2022-jp.c: this error gets overwritten with __GCONV_OK
and other results in the following code. If res ==
__GCONV_ILLEGAL_INPUT afterwards, STANDARD_TO_LOOP_ERR_HANDLER below
will handle it.
The __gconv_mark_illegal_input changes do not alter the errno value
set by the iconv function. This is simpler to implement than
reviewing each __GCONV_FULL_OUTPUT result and adjust it not to
override a previous __GCONV_ILLEGAL_INPUT result. Doing it that way
would also change some E2BIG errors in to EILSEQ errors, so it had to
be done conditionally (under a flag set by the iconv program only), to
avoid confusing buffer management in other applications.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Preserve-iconv-c-error-exit-on-invalid-inputs-.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703
commit
49449cbb3580bbdfb2e17fb5140db54496928219
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Do not use mmap in iconv (the program) (bug 17703)
On current systems, very large files are needed before
mmap becomes beneficial. Simplify the implementation.
This exposed that inptr was not initialized correctly in
process_fd. Handling multiple input files resulted in
EFAULT in read because a null pointer was passed. This
could be observed previously if an input file was not
mappable and was reported as bug 17703.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Base-tests-for-buffer-management
commit
a5c68a6bf1a7dc769ea660961dff33a5cb2ca041
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Base tests for buffer management
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Base-tests-for-buffer-management.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-iconv-Fix-matching-of-multi-character-transliteratio
commit
badbc82b4f003df0d081ebfb4c05c8b79fdf3e95
Author: Andreas Schwab <schwab@suse.de>
Date: Mon Jun 10 12:19:17 2024 +0200
iconv: Fix matching of multi-character transliterations (bug 31859)
Only return __GCONV_INCOMPLETE_INPUT for a partial match when the end of
the input buffer is reached. Otherwise it is a non-match, and other
patterns should be tried.
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Fix-matching-of-multi-character-transliteratio.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-cross
Gbp-Pq: Topic any
Gbp-Pq: Name local-cross.patch
Adam Conrad [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
Use install_root for test destination override, not DESTDIR
Forwarded: no
Last-Update: 2020-02-08
Gbp-Pq: Topic any
Gbp-Pq: Name local-test-install.diff
Adam Conrad [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
Turn off HAVE_FLOAT128 for CUDACC and ICC compilers.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1717257
Forwarded: no
Last-Update: 2017-10-11
Gbp-Pq: Topic any
Gbp-Pq: Name local-cudacc-float128.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-bootstrap-headers
Taken from EGLIBC, r1484 + r1525
2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
* Makefile (install-headers): Amend to install gnu/lib-names-$abi.h.
2014-07-30 Helmut Grohne <helmut@subdivi.de>
* With the advent of multilib gnu/stubs.h became a meta-header that
includes the correct stubs-$abi.h. So install gnu/stubs.h as usual
and install stubs-bootstrap.h as gnu/stubs-$abi.h
2007-02-20 Jim Blandy <jimb@codesourcery.com>
* Makefile (install-headers): Preserve old behavior: depend on
$(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers
is set; otherwise, place gnu/stubs.h on the 'install-others' list.
2007-02-16 Jim Blandy <jimb@codesourcery.com>
* Makefile: Amend make install-headers to install everything
necessary for building a cross-compiler. Install gnu/stubs.h as
part of 'install-headers', not 'install-others'.
If install-bootstrap-headers is 'yes', install a dummy copy of
gnu/stubs.h, instead of computing the real thing.
* include/stubs-bootstrap.h: New file.
Gbp-Pq: Topic any
Gbp-Pq: Name local-bootstrap-headers.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-ldconfig-ignore-ld.so
Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-ignore-ld.so.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
unsubmitted-ldso-machine-mismatch
Gbp-Pq: Topic any
Gbp-Pq: Name unsubmitted-ldso-machine-mismatch.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-revert-bz13979
Partially revert:
Partially revert:
From: Roland Mc Grath <roland@hack.frob.com>
Date: Tue, 8 May 2012 17:44:57 +0000 (+0200)
Subject: Warn if user requests __FORTIFY_SOURCE but it is disabled
X-Git-Tag: glibc-2.16-tps~448
X-Git-Url: http://sourceware.org/git/?p=glibc.git;a=commitdiff_plain;h=
05c2c9618f583ea4acd69b3fe5ae2a2922dd2ddc
Warn if user requests __FORTIFY_SOURCE but it is disabled
[BZ #13979]
* include/features.h: Warn if user requests __FORTIFY_SOURCE
checking but the checks are disabled for any reason.
Gbp-Pq: Topic any
Gbp-Pq: Name local-revert-bz13979.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-disable-libnss-db
Disable libnss-db as the format is not compatible with the libnss-db package, and is
architecture dependent.
Gbp-Pq: Topic any
Gbp-Pq: Name local-disable-libnss-db.diff
Steve Langasek [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
make ldconfig use the built-in system paths
Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932
Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.
Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-nptl-invalid-td
2010-02-27 Aurelien Jarno <aurelien@aurel32.net>
* pthreadP.h(INVALID_TD_P, INVALID_NOT_TERMINATED_TD_P): detect
NULL pointers.
Gbp-Pq: Topic any
Gbp-Pq: Name submitted-nptl-invalid-td.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-missing-etc-hosts
Gbp-Pq: Topic any
Gbp-Pq: Name submitted-missing-etc-hosts.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-nss-overflow
2009-01-12 Arthur Loiret <aloiret@debian.org>
nss/nss_files/files-parse.c: Include <limits.h>.
(INT_FIELD): Convert field to uintmax_t and check for 32-bit overflow.
(INT_FIELD_MAYBE_NULL): Likewise.
Gbp-Pq: Topic any
Gbp-Pq: Name local-nss-overflow.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-tcsetaddr
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: tcsetattr sanity check on PARENB/CREAD/CSIZE for ptys
# DP: Related bugs: 218131
# DP: Author: Jeff Licquia <licquia@progeny.com>
# DP: Upstream status: [In CVS | Debian-Specific | Pending | Not submitted ]
# DP: Status Details:
# DP: Date: 2003-10-29
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: tcsetattr sanity check on PARENB/CREAD/CSIZE for ptys
# DP: Related bugs: 218131
# DP: Author: Jeff Licquia <licquia@progeny.com>
# DP: Upstream status: [In CVS | Debian-Specific | Pending | Not submitted ]
# DP: Status Details:
# DP: Date: 2003-10-29
Gbp-Pq: Topic any
Gbp-Pq: Name local-tcsetaddr.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-stubs_h
Gbp-Pq: Topic any
Gbp-Pq: Name local-stubs_h.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-ld-multiarch
2012-05-01 Aurelien Jarno <aurelien@aurel32.net>
* elf/Makefile(trusted-dirs.st): Fix DL_DST_LIB computation with
two level slibdir directories.
2009-09-08 Aurelien Jarno <aurelien@aurel32.net>
* Makeconfig: add support for multiarch compat directories.
Gbp-Pq: Topic any
Gbp-Pq: Name local-ld-multiarch.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-fhs-nscd
Gbp-Pq: Topic any
Gbp-Pq: Name local-fhs-nscd.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-fhs-linux-paths
# DP: Description: Correct linux paths for FHS
# DP: Author: Unknown
# DP: Upstream status: Debian-Specific
# DP: Status Details: GNU doesn't follow the FHS.
# DP: Date: Unknown
# DP: Description: Correct linux paths for FHS
# DP: Author: Unknown
# DP: Upstream status: Debian-Specific
# DP: Status Details: GNU doesn't follow the FHS.
# DP: Date: Unknown
Gbp-Pq: Topic any
Gbp-Pq: Name local-fhs-linux-paths.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-asserth-decls
# DP: Description: /usr/include/assert.h
# DP: One must be allowed to include <assert.h> multiple times with different
# DP: values for NDEBUG, so the file is not protected against multiple
# DP: inclusions. Unfortunately this means that the declarations for
# DP: __assert_fail() and the like may occur multiple times in a compilation
# DP: unit, causing gcc to issue a batch of warnings.
# DP: I believe this can be fixed by protecting the declarations (but only
# DP: those declarations) against repetition.
# DP: Author: Jeroen T. Vermeulen <jtv@xs4all.nl>
# DP: Upstream status: Not submitted
# DP: Status Details: Plan to submit
# DP: Date: 2003-01-01
# DP: Description: /usr/include/assert.h
# DP: One must be allowed to include <assert.h> multiple times with different
# DP: values for NDEBUG, so the file is not protected against multiple
# DP: inclusions. Unfortunately this means that the declarations for
# DP: __assert_fail() and the like may occur multiple times in a compilation
# DP: unit, causing gcc to issue a batch of warnings.
# DP: I believe this can be fixed by protecting the declarations (but only
# DP: those declarations) against repetition.
# DP: Author: Jeroen T. Vermeulen <jtv@xs4all.nl>
# DP: Upstream status: Not submitted
# DP: Status Details: Plan to submit
# DP: Date: 2003-01-01
Gbp-Pq: Topic any
Gbp-Pq: Name local-asserth-decls.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-ldd
2013-05-11 Aurelien Jarno <aurelien@aurel32.net>
* elf/ldd.bash.in: Verify the dynamic linker is working before
using it.
Gbp-Pq: Topic all
Gbp-Pq: Name local-ldd.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-ru_RU
# DP: Description: Change default charset for 'russian' locale alias
# DP: Related bugs: #62586
# DP: Dpatch author: Ben Collins
# DP: Patch author: Alistair McKinstry
# DP: Upstream status: Submitted
# DP: Status Details: http://sources.redhat.com/bugzilla/show_bug.cgi?id=120
# DP: Date: 2002-03-10
# DP: Description: Change default charset for 'russian' locale alias
# DP: Related bugs: #62586
# DP: Dpatch author: Ben Collins
# DP: Patch author: Alistair McKinstry
# DP: Upstream status: Submitted
# DP: Status Details: http://sources.redhat.com/bugzilla/show_bug.cgi?id=120
# DP: Date: 2002-03-10
Gbp-Pq: Topic all
Gbp-Pq: Name local-ru_RU.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-remove-manual
The GNU Libc Reference manual has to be removed for licensing reasons.
But some files have a dependency on manual/errno.texi; the easiest
solution is to drop those dependencies and make sure that MAKEINFO=:
so that no target depends on manual/*.texi files.
Gbp-Pq: Topic all
Gbp-Pq: Name local-remove-manual.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-alias-et_EE
Gbp-Pq: Topic all
Gbp-Pq: Name local-alias-et_EE.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-fpscr_values
Gbp-Pq: Topic sh4
Gbp-Pq: Name local-fpscr_values.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-powerpc8xx-dcbz
Gbp-Pq: Topic powerpc
Gbp-Pq: Name local-powerpc8xx-dcbz.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-rld_map
2010-05-20 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/mips/dl-debug.h (ELF_MACHINE_DEBUG_SETUP): test for
RLD_MAP pointer before using it.
Gbp-Pq: Topic mips
Gbp-Pq: Name submitted-rld_map.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-gcc34-seccomment
# DP: Description: Make glibc-2.3.5 compile with gcc-3.4/4.0 + binutils 2.16
# DP: Description: Make glibc-2.3.5 compile with gcc-3.4/4.0 + binutils 2.16
# on m68k fixed by adding #APP.
# DP: Related bugs:
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Andreas Schwab <schwab@suse.de>
# DP: Upstream status: Pending
# DP: Status Details:
# DP: Date: 2005-08-03
From: Andreas Schwab <schwab@suse.de>
Gbp-Pq: Topic m68k
Gbp-Pq: Name submitted-gcc34-seccomment.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-reloc
# DP: Description: binutils bug workaround
# DP: Related bugs: #263601: m68k: workaround for binutils problem
# DP: Dpatch author: Roman Zippel <zippel@linux-m68k.org>
# DP: Patch author: Richard Zidlicky <rz@linux-m68k.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: Actual fix is to modify m68k binutils.
# DP: Date: 2004-08-09
# DP: Description: binutils bug workaround
# DP: Related bugs: #263601: m68k: workaround for binutils problem
# DP: Dpatch author: Roman Zippel <zippel@linux-m68k.org>
# DP: Patch author: Richard Zidlicky <rz@linux-m68k.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: Actual fix is to modify m68k binutils.
# DP: Date: 2004-08-09
Gbp-Pq: Topic m68k
Gbp-Pq: Name local-reloc.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-dwarf2-buildfix
# DP: Description: Adding empty m68k framestate.c not to build for dwarf2.
# DP: Related bugs:
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: GOTO Masanori <gotom@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: m68k uses sjlj exceptions, not dwarf2 unwind.
# DP: This patch adds empty framestate.c for m68k to avoid
# DP: dwarf2 build failure.
# DP: Date: 2003-07-19 (Update 2005-03-16 gotom)
# DP: Description: Adding empty m68k framestate.c not to build for dwarf2.
# DP: Related bugs:
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: GOTO Masanori <gotom@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: m68k uses sjlj exceptions, not dwarf2 unwind.
# DP: This patch adds empty framestate.c for m68k to avoid
# DP: dwarf2 build failure.
# DP: Date: 2003-07-19 (Update 2005-03-16 gotom)
2005-03-16 GOTO Masanori <gotom@debian.org>
* sysdeps/m68k/unwind-pe.c: Update to fix compilation failure.
2003-07-19 GOTO Masanori <gotom@debian.org>
* sysdeps/m68k/framestate.c: Add to fix compilation failure
with sjlj exception, suggested by Philip Blundell.
Gbp-Pq: Topic m68k
Gbp-Pq: Name local-dwarf2-buildfix.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-setcontext-revert-eax-ecx-edx
Revert upstream commit
15eab1e3e891 ("i386: Don't unnecessarily save and
Revert upstream commit
15eab1e3e891 ("i386: Don't unnecessarily save and
restore EAX, ECX and EDX [BZ# 25262]"). It breaks libunwind8.
Gbp-Pq: Topic i386
Gbp-Pq: Name local-setcontext-revert-eax-ecx-edx.patch
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
unsubmitted-quiet-ldconfig
Gbp-Pq: Topic i386
Gbp-Pq: Name unsubmitted-quiet-ldconfig.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-biarch
# DP: Description: Allow ldconfig to work on i386/x86-64 biarch systems
# DP: Related bugs:
# DP: Dpatch author: Daniel Jacobowitz
# DP: Patch author: Daniel Jacobowitz
# DP: Upstream status: Debian-Specific
# DP: Status Details: based on Ubuntu change by Jeff Bailey
# DP: Date: 2005-10-13
# DP: Description: Allow ldconfig to work on i386/x86-64 biarch systems
# DP: Related bugs:
# DP: Dpatch author: Daniel Jacobowitz
# DP: Patch author: Daniel Jacobowitz
# DP: Upstream status: Debian-Specific
# DP: Status Details: based on Ubuntu change by Jeff Bailey
# DP: Date: 2005-10-13
Gbp-Pq: Topic i386
Gbp-Pq: Name local-biarch.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-stack_chk_guard
Fix compatibility with binaries that reference __stack_chk_guard
TODO: find where these references are coming from.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-stack_chk_guard.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
proc_reauth
===================================================================
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name proc_reauth.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-exec_filename
Keep compatibility with experimental implementation
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-exec_filename.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-no_unsupported_ioctls
These ioctls are not actually supported (and will probably not be in the
close future), and are not available on Linux either, so don't expose
them to application at the risk of them complaining that they don't work
(e.g. xterm using TIOCLSET).
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-no_unsupported_ioctls.diff
Samuel Thibault [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
[PATCH] XXX: make libc_rwlock recursive
Without making the rwlocks recursive, running fakeroot-tcp gets this:
#0 0x0106e91c in mach_msg_trap () at /usr/src/glibc-2.24/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
#1 0x0106f090 in __mach_msg (msg=0x20034a0, option=3, send_size=64, rcv_size=32, rcv_name=421, timeout=0, notify=0) at msg.c:110
#2 0x0125a241 in __gsync_wait (task=1, addr=
19101080, val1=2, val2=0, msec=0, flags=0)
at /usr/src/glibc-2.24/build-tree/hurd-i386-libc/mach/RPC_gsync_wait.c:175
#3 0x010b0743 in __dcigettext (domainname=0x8050740 <_libc_intl_domainname@@GLIBC_2.2.6> "libc",
msgid1=0x8051d88 "undefined symbol: acl_get_fd", msgid2=0x0, plural=0, n=0, category=5) at dcigettext.c:527
#4 0x010af776 in __dcgettext (domainname=0x8050740 <_libc_intl_domainname@@GLIBC_2.2.6> "libc",
msgid=0x8051d88 "undefined symbol: acl_get_fd", category=5) at dcgettext.c:47
#5 0x0124e427 in __dlerror () at dlerror.c:94
#6 0x01035ae3 in load_library_symbols () from /usr/lib/i386-gnu/libfakeroot/libfakeroot-tcp.so
#7 0x01035cc3 in tmp___fxstat64 () from /usr/lib/i386-gnu/libfakeroot/libfakeroot-tcp.so
#8 0x01036cd6 in __fxstat64 () from /usr/lib/i386-gnu/libfakeroot/libfakeroot-tcp.so
#9 0x010ad831 in _nl_load_locale_from_archive (category=category@entry=0, namep=namep@entry=0x200399c) at loadarchive.c:211
#10 0x010ac45b in _nl_find_locale (locale_path=0x0, locale_path_len=0, category=category@entry=0, name=0x200399c) at findlocale.c:154
#11 0x010abde7 in setlocale (category=0, locale=0x804c2e4 "") at setlocale.c:417
#12 0x0804947f in main (argc=2, argv=0x2003ad4) at programs/locale.c:191
That's very unfortunate: libfakeroot gets initialized from a section
where __libc_setlocale_lock is already locked, and thus the dlerror()
call hangs inside __dcigettext. It happens that Linux doesn't have
the problem probably because pthread_rwlock_wrlock returns a EDEADLK
error instead of hanging, and then the first unlock unlocks, and the
second unlock probably returns an EINVAL. This is all very unsafe, but
that's fakeroot-tcp's matter (see http://bugs.debian.org/845930 for the
follow-up)...
We only use it when constructing the debian installer for -s -r options
anyway.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-libc_rwlock_recursive.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
tg-bootstrap
This dependency is missing, but would pose problem on Darwin
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-bootstrap.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-bind_umask2
2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix bind when umask is e.g. 0777.
* sysdeps/mach/hurd/bind.c (__bind): Pass mode 0666 to __dir_mkfile
instead of final mode, so that call __ifsock_getsockaddr can always
succeed, before calling __file_chmod to fix the mode according to umask,
before calling __dir_link to show the file.
Part of the original fix was committed, the other hasn't been yet, see Roland's
"Harumph" reply to
https://sourceware.org/ml/libc-alpha/2014-08/msg00408.html
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name submitted-bind_umask2.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-path_mounted
http://sourceware.org/ml/libc-alpha/2013-08/msg00207.html
To: libc-alpha@sourceware.org
Subject: [PATCH 2/2] Define _PATH_MOUNTED as "/etc/mtab"
Date: Thu, 15 Aug 2013 10:43:35 +0200
Change the definition of _PATH_MOUNTED to "/etc/mtab". This is the
value used on Linux.
The change is motivated by the fact that on Debian /etc/mtab is a
symbolic link to /proc/mounts. This patch adjusts the macro for
non-linux systems such as Hurd. Changing this using
sysdeps/mach/hurd/paths.h causes build problems because
/usr/include/hurd/paths.h is shadowed by this file. This change is
proposed in the hope that aligning the non-linux targets with the
glibc for Linux is perceived as a good thing while fixing this problem
on Debian/Hurd along the way.
* sysdeps/generic/paths.h (_PATH_MOUNTED): Change value to "/etc/mtab".
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name submitted-path_mounted.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
unsubmitted-clock_t_centiseconds
Some applications assume centisecond precision, or at most millisecond precision
(e.g. guile). This is a work-around for them.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name unsubmitted-clock_t_centiseconds.diff
Samuel Thibault [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
[PATCH] Workaround to add IPv6 support to getifaddrs
ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-usr
Upstream uses prefix= while we use prefix=/usr
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-usr.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-madvise_warn
Do not warn about madvise not being implemented. It does not have any real
semantic anyway, and that brings some -Werror FTBFS.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-madvise_warn.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-ED
This is a long funny story, but even if it's standard-compliant, it poses too
many problems.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-ED.diff
Samuel Thibault [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
[PATCH] Add -lmachuser -lhurduser to libc.so on GNU/Hurd.
http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00112.html
2011-03-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
* Makerules ($(inst_libdir)/libc.so): Add -lmachuser -lhurduser to
libc.so on GNU/Hurd.
It's still unclear what we want to aim for.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-mach-hurd-link.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
[PATCH] hurd: SCM_CREDS support
Svante Signell <svante.signell@gmail.com>
Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): On SCM_CREDS
control messages, record uids, pass a rendez-vous port in the
control message, and call __auth_user_authenticate_request to
make auth send credentials on that port. Do not wait for a
reply.
* sysdeps/mach/hurd/recvmsg.c (contains_uid, contains_gid,
check_auth): New functions.
(__libc_recvmsg): On SCM_CREDS control messages, call check_auth
to check the passed credentials thanks to the answer from the
auth server.
* hurd/Makefile (user-interfaces): Add auth_request and
auth_reply.
FIXME: this doesn't actually check uid/gid.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-sendmsg-SCM_CREDS.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-disable-ioctls
struct ortentry and struct ifalias req are actually not defined
struct arpreq is defined, but can not be passed to an ioctl on the Hurd.
so let's make packages not believe these are available.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-disable-ioctls.diff
Samuel Thibault [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
[PATCH] The critical section lock _can_ be held in these place.
At least since hurd_thread_cancel can be called by another thread and lock our
critical lock.
http://bugs.debian.org/46859
“
Thomas suggested that there is no need to take the critical section
lock. I believe that taking the critical section lock is necessary to
prevent the target thread from entering a signal handler. Roland will
look into the problem.
”
Taking the critical section lock makes these assertions bogus.
It happens that hurd_thread_cancel is only called from libports and inside
/hurd/term so this is rare in practice.
A reproducer can be found here:
http://lists.gnu.org/archive/html/bug-hurd/2014-05/msg00025.html
2006-08-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd/thread-cancel.c (hurd_thread_cancel): Do not assert that
`&ss->critical_section_lock' is unlocked.
* sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise, and take
critical section lock before taking the sigstate lock.
* sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-thread-cancel.diff
Marcus Brinkmann [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
[PATCH] Implement SysV shared memory for GNU/Hurd.
2005-07-11 Marcus Brinkmann <marcus@gnu.org>
* hurd/Makefile (routines): Add sysvshm.
(distribute): Add sysvshm.h.
* hurd/sysvshm.h: New file.
* hurd/sysvshm.c: New file.
* sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
(S_ISPARE): Unset the S_IMMAP0 flag.
* sysdeps/mach/hurd/ftok.c: New file.
* sysdeps/mach/hurd/shmat.c: New file.
* sysdeps/mach/hurd/shmctl.c: New file.
* sysdeps/mach/hurd/shmdt.c: New file.
* sysdeps/mach/hurd/bits/posix_opt.h: Define _XOPEN_SHM to 1.
TODO:
“
> + char filename[sizeof (SHM_DIR) - 1 + SHM_NAMEMAX];
> + struct stat statbuf;
> +
> + sprintf (filename, SHM_DIR SHM_NAMEPRI, id);
> + /* SysV requires read access for IPC_STAT. */
> + fd = __open (filename, O_NORW);
> + if (fd < 0)
> + {
> + if (errno == ENOENT)
> + errno = EINVAL;
> + return -1;
> + }
Since this is repeated in more than one function, put it into an
internal subroutine. Then we have only one place doing the
name-generation logic.
”
“
> + case IPC_RMID:
> + res = __unlink (filename);
> + /* FIXME: Check error (mapping ENOENT to EINVAL). */
Fix it.
”
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-sysvshm.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-enable-ldconfig
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd. We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd. We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-enable-ldconfig.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-intr-msg-clobber
Force putting save_data on the stack rather than in SSE register
The signal management does not yet properly save SSE state, so that save_data
would get overwritten by signal handlers, notably leading to `` shell
replacement getting empty content because then the io_read RPC retry gets an
MIG_BAD_ARGUMENTS error.
XXX: This is only temporary to fix the common shll replacement issue, and is
waiting for proper SSE state restoration.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-intr-msg-clobber.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-signal-reply-port
commit
7fa9e786b6e8f78675ecc30d7eaa200e1ee259b9
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Dec 26 23:11:28 2024 +0100
hurd: Avoid asm statements which return
They are not supposed to change flow control.
This fixes miscompilation with gcc 14.2.0 which then drops code, see
https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00145.html
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-signal-reply-port.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-MAP_NORESERVE
commit
d92a5e1dad39ab0ac09ab1beeb055c1f1d981cd4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Nov 25 00:54:26 2024 +0100
hurd: Add MAP_NORESERVE mmap flag
This is already the current default behavior, which we will change with
overcommit support addition.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-MAP_NORESERVE.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-default_pager.h
commit
e5c2738f17602949ac29a2c296cc3555cb06b7c3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Nov 13 01:33:32 2024 +0100
Revert "hurd: Stop depending on the default_pager stubs provided by gnumach"
This reverts commit
f7f7dd8009275504b211c170caf5bce50fa472ac.
default_pager is actually also used in e.g. xosview.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-default_pager.h.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-tst-aligned-alloc-random-thread-mcheck
commit
251843e16fcec4e2b328577be66dcb2f3fa1c1e7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Aug 20 16:16:25 2024 +0200
malloc: Link threading tests with $(shared-thread-library)
Fixes build failures on Hurd.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-tst-aligned-alloc-random-thread-mcheck.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-tst-aligned-alloc-random-thread
commit
a57cbbd85379874177d40d675f5b905e669d0a47
Author: Florian Weimer <fweimer@redhat.com>
Date: Sat Jul 27 16:23:55 2024 +0200
malloc: Link threading tests with $(shared-thread-library)
Fixes build failures on Hurd.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-tst-aligned-alloc-random-thread.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-pthread_symbols
commit
8dc3f4f8adcfbc991b1677464dd7cd485f4e6d85
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Jul 17 02:03:13 2024 +0200
hurd: Fix missing pthread_ compat symbol in libc
5476f8cd2e68 ("htl: move pthread_self info libc.") and
9dfa2562162b ("htl: move pthread_equal into libc") to
1dc0bc8f0748 ("htl: move pthread_attr_setdetachstate into libc")
moved some pthread_ symbols from libpthread.so to libc.so, but missed
adding the compat version like
5476f8cd2e68 ("htl: move pthread_self
info libc.") did: libc already had these symbols as forwards,
but versioned GLIBC_2.21, while the symbols in libpthread.so were
versioned GLIBC_2.12.
To fix running executables built before this, we thus have to add the
GLIBC_2.12 version, otherwise execution fails with e.g.
/usr/lib/i386-gnu/libglib-2.0.so: symbol lookup error: /usr/lib/i386-gnu/libglib-2.0.so: undefined symbol: pthread_attr_setinheritsched, version GLIBC_2.12
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-pthread_symbols.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-fault-64bit
commit
11ad033e1c09c8b8e7bbaa72420f41ab8bcf0f63
Author: Flavio Cruz <flaviocruz@gmail.com>
Date: Tue Jul 30 00:51:20 2024 -0400
x86_64 hurd: ensure we have a large enough buffer to receive exception_raise requests.
Message-ID: <gtxd6s4s7fi7hdrlb7zayq3akij7x6jqawwq3zfl3v4nqspulo@euucuzeonrl6>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-fault-64bit.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-inlining
Increase the maximal overall growth of the compilation unit caused
by inlining for dl-reloc.c on hppa. This remove some warnings and
strangely it reduces the size of the final binary.
Gbp-Pq: Topic hppa
Gbp-Pq: Name local-inlining.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-hwcap2-constants
commit
273694cd78a2e12f44f8aacc88ec15853feb759a
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Sat Nov 2 10:52:54 2024 +0100
Add Arm HWCAP2_* constants from Linux 3.15 and 6.2 to <bits/hwcap.h>
Linux 3.15 and 6.2 added HWCAP2_* values for Arm. These bits have
already been added to dl-procinfo.{c,h} in commits
9aea0cb842f02 and
8ebe9c0b38a9. Also add them to <bits/hwcap.h> so that they can be used
in user code. For example, for checking bits in the value returned by
getauxval(AT_HWCAP2).
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>
Gbp-Pq: Topic arm
Gbp-Pq: Name git-hwcap2-constants.diff
Adam Conrad [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
Lie about futex_atomic_cmpxchg_inatomic kernel support.
Bug-Ubuntu: https://launchpad.net/bugs/
1436162
Bug-Debian: https://bugs.debian.org/788799
Last-Update: 2015-03-25
In past versions of glibc, we incorrectly assumed all ARM kernels
in all configurations supported futex_atomic_cmpxchg_inatomic. This
was clearly a lie, however it was a lie that we relied on, because
the fallback implementation appears to not play nicely with certain
applications like pulseaudio. Restore the lie for kernels > 2.6.32
and plug our ears and scream "LA LA LA" about how wrong this is.
Gbp-Pq: Topic arm
Gbp-Pq: Name local-arm-futex.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
unsubmitted-ldso-multilib
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-sigaction
Gbp-Pq: Topic arm
Gbp-Pq: Name local-sigaction.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-makecontext
2018-03-01 Aurelien Jarno <aurelien@aurel32.net>
[BZ #22910]
* sysdeps/unix/sysv/linux/alpha/setcontext.S (__startcontext): Set
up CFI directive to forbid further backtracing.
Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-makecontext.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-fts64
2016-03-22 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/alpha/fts.c: New file.
* sysdeps/unix/sysv/linux/alpha/fts64.c: New file.
Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-fts64.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-dl-support
older versions of glibc would build dl-sysdep as shared-only and dl-support as
static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of
glibc build dl-sysdep as both shared and static which means we now have symbol
duplication for static builds with dl-sysdep and dl-support. since dl-sysdep
is both shared/static, there is no point in hooking dl-support anymore, so we
can punt it.
Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-dl-support.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
local-gcc4.1
2006-05-30 Falk Hueffner <falk@debian.org>
* sysdeps/unix/sysv/linux/alpha/ioperm.c: force the architecture
to ev6 in assembly code.
{standard input}: Assembler messages:
{standard input}:341: Error: macro requires $at register while noat in effect
{standard input}:374: Error: macro requires $at register while noat in effect
{standard input}:438: Error: macro requires $at register while noat in effect
{standard input}:471: Error: macro requires $at register while noat in effect
make[3]: *** [/tmp/buildd/glibc-2.3.6/build-tree/alpha-libc/misc/ioperm.o] Error 1
Hrm. gcc puts .arch ev4 into the .s, and this overrides -mev6 for as.
I cannot really think of anything better than
Gbp-Pq: Topic alpha
Gbp-Pq: Name local-gcc4.1.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
submitted-es_MX-decimal_point
2012-06-06 Aurelien Jarno <aurelien@aurel32.net>
* locales/es_MX (LC_MONETARY): Set mon_thousands_sep to space
( ).
Gbp-Pq: Topic localedata
Gbp-Pq: Name submitted-es_MX-decimal_point.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
tailor-iso14651_t1
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Rewrite collation rules to include iso14651_t1
# DP: ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not
# DP: submitted yet.
# DP: Related bugs: BZ664 BZ672
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier, Pablo Saratxaga
# DP: Upstream status: BZ664 BZ672
# DP: Date: 2006-01-18
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Rewrite collation rules to include iso14651_t1
# DP: ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not
# DP: submitted yet.
# DP: Related bugs: BZ664 BZ672
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier, Pablo Saratxaga
# DP: Upstream status: BZ664 BZ672
# DP: Date: 2006-01-18
2008-08-08 Aurelien Jarno <aurel32@debian.org>
Loosy update for glibc 2.8.
2007-05-25 Pierre Habouzit <madcoder@debian.org>
Loosy update for glibc 2.6.
2005-01-16 Denis Barbier <barbier@linuxfr.org>
[BZ #672]
Replace current collation rules by including iso14651_t1 and adding
extra rules if needed. There should be no noticeable changes in
sorted text. only ligatures and ignoreable characters have modified
weights.
* locales/da_DK: Likewise.
Gbp-Pq: Topic localedata
Gbp-Pq: Name tailor-iso14651_t1.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
locale-zh_TW
See BTS #352600.
Not submitted yet.
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-zh_TW.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
locale-en_DK
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Improve en_DK and add en_DK.ISO-8859-15 to SUPPORTED
# DP: This locale is only useful to provide ISO8601 date formats.
# DP: Related bugs: #323159
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jakob Bohm <jbj@image.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-16
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Improve en_DK and add en_DK.ISO-8859-15 to SUPPORTED
# DP: This locale is only useful to provide ISO8601 date formats.
# DP: Related bugs: #323159
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jakob Bohm <jbj@image.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-16
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-en_DK.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
locales-fr
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Various fixes for all French locales
# DP: Related bugs: #248377 #351786 #345481
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Various fixes for all French locales
# DP: Related bugs: #248377 #351786 #345481
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
Gbp-Pq: Topic localedata
Gbp-Pq: Name locales-fr.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
fo_FO-date_fmt
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix d_t_fmt and date_fmt in fo_FO
# DP: Related bugs: #307194
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jacob Sparre Andersen <sparre@nbi.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix d_t_fmt and date_fmt in fo_FO
# DP: Related bugs: #307194
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jacob Sparre Andersen <sparre@nbi.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
Gbp-Pq: Topic localedata
Gbp-Pq: Name fo_FO-date_fmt.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
locale-ku_TR
# DP: Description: Please add Kurdish locale
# DP: Related bugs: BZ870
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Kader DILSIZ, Pablo Saratxaga
# DP: Upstream status: Version 0.1 submitted in the original bugreport
# DP: has been committed, this new version has been sent just after.
# DP: Date: 2006-01-06
# DP: Description: Please add Kurdish locale
# DP: Related bugs: BZ870
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Kader DILSIZ, Pablo Saratxaga
# DP: Upstream status: Version 0.1 submitted in the original bugreport
# DP: has been committed, this new version has been sent just after.
# DP: Date: 2006-01-06
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-ku_TR.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
locale-eu_FR
# DP: Description: #257840: locales: Please add the eu_FR locale
# DP: Related bugs: #257840
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Christian Perrier <bubulle@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: sending upstream
# DP: Date: 2004-07-31
# DP: Description: #257840: locales: Please add the eu_FR locale
# DP: Related bugs: #257840
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Christian Perrier <bubulle@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: sending upstream
# DP: Date: 2004-07-31
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-eu_FR.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
supported
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add several locales to localedata.SUPPORTED
# DP: - ru_RU.CP1251 was requested in #225516
# DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant
# DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8,
# DP: no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch.
# DP: Related bugs: #225516 (ru_RU.CP1251)
# DP: Dpatch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add several locales to localedata.SUPPORTED
# DP: - ru_RU.CP1251 was requested in #225516
# DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant
# DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8,
# DP: no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch.
# DP: Related bugs: #225516 (ru_RU.CP1251)
# DP: Dpatch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
Gbp-Pq: Topic localedata
Gbp-Pq: Name supported.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
sort-UTF8-first
Gbp-Pq: Topic localedata
Gbp-Pq: Name sort-UTF8-first.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
LC_IDENTIFICATION-optional-fields
In LC_IDENTIFICATION, audience, application and abbreviation keywords
are optional, thus do not report an error if they are not defined.
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08
Gbp-Pq: Topic locale
Gbp-Pq: Name LC_IDENTIFICATION-optional-fields.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
locale-print-LANGUAGE
Comments tell that LANG has to be the first value, and LC_ALL the last
one. Thus LANGUAGE is printed between them.
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08
Gbp-Pq: Topic locale
Gbp-Pq: Name locale-print-LANGUAGE.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
check-unknown-symbols
Check for unknown symbols in collation rules. This is useful to detect
broken locales since unknown symbols are always wrong.
This request has not been submitted upstream yet.
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08
Gbp-Pq: Topic locale
Gbp-Pq: Name check-unknown-symbols.diff
GNU Libc Maintainers [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
git-updates
GIT update of https://sourceware.org/git/glibc.git/release/2.40/master from glibc-2.40
GIT update of https://sourceware.org/git/glibc.git/release/2.40/master from glibc-2.40
Gbp-Pq: Name git-updates.diff
Aurelien Jarno [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
glibc (2.40-5) unstable; urgency=medium
[ Samuel Thibault ]
* debian/patches/hurd-i386/git-MAP_NORESERVE.diff: Add MAP_NORESERVE flag.
* debian/patches/hurd-i386/git-signal-reply-port.diff: Fix hurd build
against gcc 14.
[ Bjarni Ingi Gislason ]
* debian/local/manpages/update-locale.8: fix issues reported by troff.
Closes: #1088003.
[ Aurelien Jarno ]
* debian/patches/any/git-iconv-do-not-report-*.patch: backport iconv return
code with transliteration fix from upstream. Closes: #
1087670.
* debian/debhelper.in/locales.templates: add a note to clarify that the C,
C.UTF-8 and POSIX locales do not need to be generated. Closes: #
1091473.
* debian/patches/git-updates.diff: update from upstream stable branch.
* patches/any/git-posix-fix-system-when-a-child-cannot-be-created-BZ-3.patch:
backport patch from upstream to fix return value of system() when a child
process cannot be created. Closes: #
1088964.
* debian/rules.d/debhelper.mk: explicitly pass the library path to
dh_shlibdeps for multilib packages, to fix a FTBFS with rebootstrap which
does not install the g++-XX-multilib build-dependency. Closes: #
1088166.
[ Carles Pina i Estany ]
* Update Catalan debconf translation. Closes: #
1091705.
[dgit import unpatched glibc 2.40-5]
Aurelien Jarno [Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)]
Import glibc_2.40-5.debian.tar.xz
[dgit import tarball glibc 2.40-5 glibc_2.40-5.debian.tar.xz]
Aurelien Jarno [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
Merge glibc (2.40-4) import into refs/heads/workingbranch
GNU Libc Maintainers [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
git-iconv-Input-buffering-for-the-iconv-program-bug-6050
commit
b55a3285f9b4174781e1f1faf0f26d6b63fa1aef
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Input buffering for the iconv program (bug 6050)
Do not read the entire input file into memory.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Input-buffering-for-the-iconv-program-bug-6050.patch
GNU Libc Maintainers [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
git-iconv-Multiple-on-command-line-should-not-fail-bug-3
commit
d8582b56d0c34f924863c21cc8642bc1b6deb29f
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Multiple - on command line should not fail (bug 32050)
Usually, the second and subsequent - return EOF immediately
and do not contribute to the output, but this is not an error.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Multiple-on-command-line-should-not-fail-bug-3.patch
GNU Libc Maintainers [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
git-iconv-Support-in-place-conversions-bug-10460-bug-320
commit
f432d9495d428eef0455376e4de666d0a6748040
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Support in-place conversions (bug 10460, bug 32033)
Check if any of the input files overlaps with the output file, and use
a temporary file in this case, so that the input is no clobbered
before it is read. This fixes bug 10460. It allows to use iconv
more easily as a functional replacement for GNU recode.
The updated output buffer management truncates the output file
if there is no input, fixing bug 32033.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Support-in-place-conversions-bug-10460-bug-320.patch
GNU Libc Maintainers [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
git-iconv-Preserve-iconv-c-error-exit-on-invalid-inputs-
commit
53ed84fee1647db907d40d36fd4294add6d9279f
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Preserve iconv -c error exit on invalid inputs (bug 32046)
In several converters, a __GCONV_ILLEGAL_INPUT result gets overwritten
with __GCONV_FULL_OUTPUT. As a result, iconv (the function) returns
E2BIG instead of EILSEQ. The iconv program does not see the original
EILSEQ failure, does not recognize the invalid input, and may
incorrectly exit successfully.
To address this, a new __flags bit is used to indicate a sticky input
error state. All __GCONV_ILLEGAL_INPUT results are replaced with a
function call that sets this new __GCONV_ENCOUNTERED_ILLEGAL_INPUT and
returns __GCONV_ILLEGAL_INPUT. The iconv program checks for
__GCONV_ENCOUNTERED_ILLEGAL_INPUT and overrides the exit status.
The converter changes introducing __gconv_mark_illegal_input are
mostly mechanical, except for the res variable initialization in
iconvdata/iso-2022-jp.c: this error gets overwritten with __GCONV_OK
and other results in the following code. If res ==
__GCONV_ILLEGAL_INPUT afterwards, STANDARD_TO_LOOP_ERR_HANDLER below
will handle it.
The __gconv_mark_illegal_input changes do not alter the errno value
set by the iconv function. This is simpler to implement than
reviewing each __GCONV_FULL_OUTPUT result and adjust it not to
override a previous __GCONV_ILLEGAL_INPUT result. Doing it that way
would also change some E2BIG errors in to EILSEQ errors, so it had to
be done conditionally (under a flag set by the iconv program only), to
avoid confusing buffer management in other applications.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Preserve-iconv-c-error-exit-on-invalid-inputs-.patch
GNU Libc Maintainers [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703
commit
49449cbb3580bbdfb2e17fb5140db54496928219
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Do not use mmap in iconv (the program) (bug 17703)
On current systems, very large files are needed before
mmap becomes beneficial. Simplify the implementation.
This exposed that inptr was not initialized correctly in
process_fd. Handling multiple input files resulted in
EFAULT in read because a null pointer was passed. This
could be observed previously if an input file was not
mappable and was reported as bug 17703.
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703.patch
GNU Libc Maintainers [Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)]
git-iconv-Base-tests-for-buffer-management
commit
a5c68a6bf1a7dc769ea660961dff33a5cb2ca041
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Sep 20 13:10:54 2024 +0200
iconv: Base tests for buffer management
Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Base-tests-for-buffer-management.patch