From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: 02/02: gnu: next: Compress the executable. Date: Sat, 28 Sep 2019 23:02:27 +0200 Message-ID: <87v9tcm8ws.fsf@gnu.org> References: <20190905095602.15524.75425@vcs0.savannah.gnu.org> <20190905095603.AC57A209A5@vcs0.savannah.gnu.org> <874l1qgc1j.fsf@elephly.net> <871rwuc3es.fsf@ambrevar.xyz> <87blvu32qm.fsf@gnu.org> <878sqxq4ga.fsf@ambrevar.xyz> <875zm0co0t.fsf@ambrevar.xyz> <87h85ipo14.fsf@gnu.org> <87muf9n8sc.fsf@ambrevar.xyz> <8736gw6xrh.fsf@gnu.org> <87y2yonng4.fsf@ambrevar.xyz> <87k19tg63u.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56530) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEJrU-0004Nm-7d for guix-devel@gnu.org; Sat, 28 Sep 2019 17:02:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEJrT-00084w-6U for guix-devel@gnu.org; Sat, 28 Sep 2019 17:02:40 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:37798) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iEJrT-000840-05 for guix-devel@gnu.org; Sat, 28 Sep 2019 17:02:39 -0400 In-Reply-To: <87k19tg63u.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 27 Sep 2019 16:35:01 +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" To: Pierre Neidhardt Cc: guix-devel@gnu.org Howdy! Pierre Neidhardt skribis: > Duh, got it: if next-1.3.1-lib is grafted, then the path to SQLite, > libfixposix, etc. _inside the compress binary_ will not be updated. > So if we garbage-collect after that, the binary will try to FFI-load > non-existing libraries. Exactly! > Note that this is only a problem because Next depends on FFI libraries. > Compressing pure-SBCL binaries should not be a problem. It=E2=80=99s a problem in general: any store reference in a compressed file= is invisible to the GC and to the grafting code. Ludo=E2=80=99.