From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: libc upgrade vs. incompatible locales Date: Mon, 31 Aug 2015 13:49:10 +0200 Message-ID: <87a8t7brux.fsf@gnu.org> References: <87vbcnb2vp.fsf@igalia.com> <871tfapi6h.fsf@netris.org> <877fp25j6g.fsf@igalia.com> <87egj0k0ld.fsf@gnu.org> <87bne26h9b.fsf@gnu.org> <87zj18h858.fsf_-_@gnu.org> <87egijx352.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWNaP-0004Jw-UL for guix-devel@gnu.org; Mon, 31 Aug 2015 07:49:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWNaK-00022F-VT for guix-devel@gnu.org; Mon, 31 Aug 2015 07:49:17 -0400 In-Reply-To: <87egijx352.fsf@igalia.com> (Andy Wingo's message of "Mon, 31 Aug 2015 10:39:53 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andy Wingo Cc: guix-devel@gnu.org Andy Wingo skribis: > On Sun 30 Aug 2015 21:46, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> The binary format for locales is dependent on the libc version. Over >> the last few releases, it turned out to be compatible, but that of 2.22 >> differs from that of 2.21 (a new element was added to locale categories, >> according to ChangeLog.) > > Does this amount to a binary-incompatible change to libc? I guess not > if you make sure that if you had a statically linked binary, that you > set LOCPATH appropriately.... > > What if we built bootstrap binaries to statically link their LOCPATH ? > Is that even possible? I don=E2=80=99t think locale data can be embedded in binaries. Also, it=E2= =80=99s a good strategy to avoid rebuilding the bootstrap binaries as much as possible, as it intuitively suggests that a Thompson attack is unlikely. Ludo=E2=80=99.