From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ILhdM4+ccWUH/QAAauVa8A:P1 (envelope-from ) for ; Thu, 07 Dec 2023 11:21:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ILhdM4+ccWUH/QAAauVa8A (envelope-from ) for ; Thu, 07 Dec 2023 11:21:03 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8061C24E6B for ; Thu, 7 Dec 2023 11:21:03 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ibY3pPHO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701944463; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6w86qUN9+LMUH/6IufU14x4R6AcktH0+ulO16tEGviA=; b=ZIZ4Ealqw1k1ag2LZNXrLlJNxsvYrO3SLbZlpZWEG4GKwCmKf72X02SFHzDVbNo1rUtgpv 0Vf2mkJ0WYbVpSvUG+9rQPLjwfhgytjH8lm1jDC52YfnNVKep6keXhEFQ30y3kXy8dvHmj 4rZYDNO8O41qpwR+3YYl66v5U/lJyOXfv0qCgDPkJFndHhPfYb2qNtBLKbGrWTxvCkuBok gIDw/D5c4oBUWh6/zr7MSFxkXOTPuYQwvuK4B8VwaPtlL5qVC5s+zsh6YMzuNMr8/3+oMa bTmqusMS0D35B+aSkZ0cQ784jjL4PUcANRVGbnhrTB3kd0MAJ1M5xuYbIjtTdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ibY3pPHO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701944463; a=rsa-sha256; cv=none; b=GTIQvSbz1hdCXs68E+nljjoZou9KIVuwOKDcLuJas1+8g8GyaCtBkS94BDBWiIX1LiRsnu QrPW2JgFW6lnB03eTtd3eAYKAPpjzwR1NdgWBH29RjSNzQMm/4f02YJ2y9QjTdDPVQhMpA bZ85rpuNpxV5KAITcfK7KZUefW+ofe60igHZJVCkpzP3K7roxLcaOBY6QcWPFE77NP9bzh k7SqR8DPsWRbhbZ5jfQ8ofmpMQW6wI2asQfP0bjj7c9GyPcycmStUeGxZHYOVovzSNRJGW ZAnT2mgLx++TA0f7KfjPqT0IuOQU5QbZqwaCsQbHc9etqlGUW6Bx6T0l2j5i3Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBBUy-0002wW-38; Thu, 07 Dec 2023 05:20:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBBUw-0002vI-B0 for guix-patches@gnu.org; Thu, 07 Dec 2023 05:20:50 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBBUw-0000Uy-2m for guix-patches@gnu.org; Thu, 07 Dec 2023 05:20:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBBV8-0005Ql-9s for guix-patches@gnu.org; Thu, 07 Dec 2023 05:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67686] [PATCH core-updates 0/5] Update glibc to 2.38; make C.UTF-8 always available Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Dec 2023 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67686 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67686@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170194443120828 (code B ref -1); Thu, 07 Dec 2023 10:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2023 10:20:31 +0000 Received: from localhost ([127.0.0.1]:41118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBBUd-0005Pr-Dk for submit@debbugs.gnu.org; Thu, 07 Dec 2023 05:20:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBBUb-0005PW-GI for submit@debbugs.gnu.org; Thu, 07 Dec 2023 05:20:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBBUD-0002p4-21 for guix-patches@gnu.org; Thu, 07 Dec 2023 05:20:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBBUC-0000Gf-QO; Thu, 07 Dec 2023 05:20:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=6w86qUN9+LMUH/6IufU14x4R6AcktH0+ulO16tEGviA=; b=ibY3pPHOl0+WOv 5m4wBKOETBhNHdpPce62oGmiCfc4Cmaz6KpGEDbMccw1v9dVQr/WMx6uOb2IXrlYOB9gL/L2GbdQ/ 0ZTHtc/uexd8YP3zLRt9FhwJbz3q2907xg2EPrXkhot+XvCO1b0f2XdPLolYU76OA38DzZeL4a8i3 /8mrXKmcDV1k1lDmUY3UzBqLlIi/ZX94y/80f95hoyU047nQDvP7IEBYpzjSJzwgxNDFai58GGnpv oyflj+2WKR8QWef09I6bBE5eZvzpIf8Jf01DqGyBkeARJhTVgdFzwwL0y3wlO6gt4iCJLl99nts4a UYLN+V4/BwiT4rvScjYA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 7 Dec 2023 11:19:52 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.85 X-Spam-Score: -5.85 X-Migadu-Queue-Id: 8061C24E6B X-Migadu-Scanner: mx12.migadu.com X-TUID: 0Vwb/njeLJRt Hello fellow core updaters! Here’s a patch to (1) upgrade glibc on ‘core-updates’, and (2) make the “C.UTF-8” locale always available. The upgrade itself will need several iterations so we can check whether cross-compilation still works, for which we need help from ci.guix. It removes ‘glibc-allow-kernel-2.6.32.patch’, which no longer applies, so we’ll have to do a poll to ensure nobody relies on this (this is mostly for HPC people, who tend to have machines running old and heavily-patched kernels, but hopefully this particular flavor is now gone.) With the upgrade, we should be able to: (define-public glibc/hurd glibc) Perhaps we’ll even get support for x86_64-gnu (!), though IIRC we may need a couple more patches. As for #2, it means that: setlocale (LC_ALL, "C.UTF-8"); is guaranteed to always succeed. This is pretty big deal for us because then we can get rid of most use cases for ‘glibc-utf8-locales’. The main use of ‘glibc-utf8-locales’ is to ensure that Guile (and other programs that behave similar) can run in a UTF-8 locale and thus decode file names & co. according to that locale’s encoding. We’ll be able to replace snippets like: #~(begin (setenv "GUIX_LOCPATH" #$(file-append glibc-utf8-locales "/lib/locale")) (setlocale LC_ALL "en_US.utf8") …) with: #~(begin (setlocale LC_ALL "C.UTF-8") …) Thoughts? Note that I needed Greg’s GCC 11.4.0 upgrade from as a prerequisite since libsanitizer in GCC 11.3.0 fails to build with glibc 2.38. Ludo’. Greg Hogan (1): gnu: gcc@11: Update to 11.4.0. Ludovic Courtès (4): gnu: glibc-utf8-locales: Generalize and use gexps. DRAFT gnu: glibc: Update to 2.38. gnu: glibc: Install C.UTF-8 locale. gnu: glibc: Ensure C.UTF-8 locale is always found. gnu/local.mk | 2 +- gnu/packages/base.scm | 143 ++++++++++++------ gnu/packages/gcc.scm | 7 +- .../gcc-10-tree-sra-union-handling.patch | 33 ---- .../glibc-2.37-versioned-locpath.patch | 57 ++++--- .../patches/glibc-2.38-ldd-x86_64.patch | 8 + 6 files changed, 138 insertions(+), 112 deletions(-) delete mode 100644 gnu/packages/patches/gcc-10-tree-sra-union-handling.patch create mode 100644 gnu/packages/patches/glibc-2.38-ldd-x86_64.patch base-commit: 69d31a158001f2cb97983bd13f4575f6c9484451 -- 2.41.0