From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ONd5HHPfdGViOwEAauVa8A:P1 (envelope-from ) for ; Sat, 09 Dec 2023 22:43:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ONd5HHPfdGViOwEAauVa8A (envelope-from ) for ; Sat, 09 Dec 2023 22:43:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JCapzucA; 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=1702158195; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hHq1X8GKes+7N79aT8m4Rjg72IUEDid503fdk6CKZ4A=; b=rup5jeYpbHUQjbxQIVuuXKtoUwpJ2VQ5iq7NUIf+XcrRnGwMOCZlwFxfBi44g3+k6GOPMp gme8FqFAupfIi3ZP52c+B7HA69BwNI1cZLGFAx+oqwvHgsT3qCg48Vph6ELXre/YE/GiZv i7DlNZybujlu2YFdTu2hDSAxbJ5KyACmsjZH24abrRwqdZqoc5gm3z3KrUCgWUgoZ0WSNg 6dZMLtoMl8tT5Og7/Gg0jprnWEB2uGanPCaQJbfKqlD+33T0YmgikSJiK8dVBBi9uKZ+Kr srrPJWSVcoaOyQEPHrZSO9Dc0v7QfTguFR+4pL32q0lGG6xGwvrNdSmVflSK6Q== 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=JCapzucA; 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=1702158195; a=rsa-sha256; cv=none; b=CG5Q1LK0+WalG6q32kR3/aq/M3NItqqlveCLOFPEXvsCOq+PAwDDl99+Ytu1KaVULgaKiK 7E2tvnrNfHKzsHqbUiOBnSM1bSbmbRCTtlG1MBms+7y03jvRyngxLTUvgZwalnX0/UTWhh 90FhDq9uNXZ0EYpvyigT+AYr82AsdN/zPzGify7je9CtJKzwgFF06tXYuWuzs4fWZ7ygL0 5ti2lY0yO6IImc9NOJd3rDakkkXIzMe0ktgKEk2NSSHkBkD4IfhUmNbp8tXKavOrgAGAK1 BrkujTW1r4C9MqB4PgmgzSKS7UQsMcWMeO9aaMICsb55NKUldJ1TKJh1204m1A== 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 AECE450BE3 for ; Sat, 9 Dec 2023 22:43:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rC562-000432-UR; Sat, 09 Dec 2023 16:42:50 -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 1rC560-00042X-Uj for guix-patches@gnu.org; Sat, 09 Dec 2023 16:42:49 -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 1rC560-0000pD-MQ for guix-patches@gnu.org; Sat, 09 Dec 2023 16:42:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rC56E-0007jz-Ds for guix-patches@gnu.org; Sat, 09 Dec 2023 16:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67686] [PATCH core-updates 4/5] gnu: glibc: Install C.UTF-8 locale. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Dec 2023 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67686 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 67686@debbugs.gnu.org Received: via spool by 67686-submit@debbugs.gnu.org id=B67686.170215812629680 (code B ref 67686); Sat, 09 Dec 2023 21:43:02 +0000 Received: (at 67686) by debbugs.gnu.org; 9 Dec 2023 21:42:06 +0000 Received: from localhost ([127.0.0.1]:49118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rC55K-0007ie-4w for submit@debbugs.gnu.org; Sat, 09 Dec 2023 16:42:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rC55I-0007i8-UC for 67686@debbugs.gnu.org; Sat, 09 Dec 2023 16:42: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 1rC54z-0000MI-2B; Sat, 09 Dec 2023 16:41:45 -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:References:In-Reply-To:Subject:To: From; bh=hHq1X8GKes+7N79aT8m4Rjg72IUEDid503fdk6CKZ4A=; b=JCapzucA6qGRmEsIYmQt /Bng/Vd5e1e0k+dhJAJ2OUnbGrc7k0e4+RsjvpQOvd4xG+wkkrvoy8BH51TvKLF9baRALqp5SG7tL xDAQvIlTGaBn0tHABKbWc0/9D/oVz0UpV4mdavAsXjAnGwHDdn2UtX77b/RHDMFJ44m5Vlezf83G0 //DYR0xR5fzNUr93ZtI9OdoQ08vJw617qq14CgGlR3SWRlWI7B9SN0HHSFpPiH3BZTC/nVvI3qrLo D3RzVB7msTe8xuN4KgloeU6Kg/1ZiF5sV35jqVCEAa0lq2xaPjpz4S/TT9JAKiG/DAdlh+MNcDrdk KBogymJhbUwkOw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Efraim Flashner's message of "Sat, 9 Dec 2023 18:33:19 +0200") References: <3e187cf8646059a513b502a17abe9f88daae6f6b.1701943221.git.ludo@gnu.org> <87v89ae24t.fsf@gnu.org> <87fs0dd7qr.fsf@gnu.org> Date: Sat, 09 Dec 2023 22:41:41 +0100 Message-ID: <87v8973vfu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.11 X-Spam-Score: -2.11 X-Migadu-Queue-Id: AECE450BE3 X-TUID: FY/aIjLkoMVu Hello! Efraim Flashner skribis: > On Thu, Dec 07, 2023 at 10:26:36PM +0100, Ludovic Court=C3=A8s wrote: [...] >> I was told on #glibc that (1) there=E2=80=99s no =E2=80=98localedef=E2= =80=99 for the build >> machine produced during cross-compilation, and (2) that more generally, >> there=E2=80=99s no way to cross-build locale data, that endianness and o= ther >> things may matter. >>=20 >> I suspect #2 was about the locale archive and not locale data, because >> evidence suggests that locale data is system-independent: >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ for s in aarch64-linux powerpc64le-linux armhf-linux i686-linux ; do d= iff -r $(guix build glibc-locales@2.35) $(guix build glibc-locales@2.35 -s = "$s") && echo "$s same as x86_64-linux" ; done >> aarch64-linux same as x86_64-linux >> powerpc64le-linux same as x86_64-linux >> armhf-linux same as x86_64-linux >> i686-linux same as x86_64-linux >> $ guix describe >> guix 6e2dd51 >> repository URL: https://git.savannah.gnu.org/git/guix.git >> branch: master >> commit: 6e2dd51df5f3f51e9056dd4f2e1b036195ab3caa >> --8<---------------cut here---------------end--------------->8--- >>=20 >> Efraim, could you check against powerpc-linux, which is the only >> big-endian target we +/- support? > > I found a difference in almost every file. The tarball of the locales > was too big to attach so I've uploaded it here=C2=B9. Looking at it in > diffoscope it looked like most of the data that looked human readable > was the same, but there was some endian switching with the other data > bits. So without actually checking other big endian systems it looks > like we could set target #f for the locales, but for those that share > their endianness. OK, interesting, thanks for checking! So we won=E2=80=99t be able to reliably provide C.UTF-8 in cross-compiled l= ibcs. Maybe not a big problem, but it does mean that cross-compiled code will be =E2=80=9Cless capable=E2=80=9D because of that. Ludo=E2=80=99.