From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 02 09:50:34 2019 Received: (at submit) by debbugs.gnu.org; 2 Sep 2019 13:50:34 +0000 Received: from localhost ([127.0.0.1]:57619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4mj2-0003YB-1A for submit@debbugs.gnu.org; Mon, 02 Sep 2019 09:50:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:59910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4miy-0003Y0-CF for submit@debbugs.gnu.org; Mon, 02 Sep 2019 09:50:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54424) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4mix-00088q-2E for guix-patches@gnu.org; Mon, 02 Sep 2019 09:50:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4miv-00051D-HW for guix-patches@gnu.org; Mon, 02 Sep 2019 09:50:26 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:35173) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i4miv-0004vI-4c for guix-patches@gnu.org; Mon, 02 Sep 2019 09:50:25 -0400 X-Originating-IP: 92.169.116.127 Received: from localhost.localdomain (lfbn-1-4117-127.w92-169.abo.wanadoo.fr [92.169.116.127]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4E3CC1C0011 for ; Mon, 2 Sep 2019 13:50:21 +0000 (UTC) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH] build-system/asdf: Add option to compress programs. Date: Mon, 2 Sep 2019 15:50:20 +0200 Message-Id: <20190902135020.14473-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.197 X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) * guix/build/lisp-utils.scm (build-program): Add `compress?' key argument. (generate-executable-for-system): Same. (generate-executable): Same. --- guix/build/lisp-utils.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/guix/build/lisp-utils.scm b/guix/build/lisp-utils.scm index 97bc6197a3..c7a589c902 100644 --- a/guix/build/lisp-utils.scm +++ b/guix/build/lisp-utils.scm @@ -220,12 +220,19 @@ Also load TEST-ASD-FILE if necessary." "Return a lisp keyword for the concatenation of STRINGS." (string->symbol (apply string-append ":" strings))) -(define (generate-executable-for-system type system) +(define* (generate-executable-for-system type system #:key compress?) "Use LISP to generate an executable, whose TYPE can be 'asdf:image-op or 'asdf:program-op. The latter will always be standalone. Depends on having created a \"SYSTEM-exec\" system which contains the entry program." (lisp-eval-program `((require :asdf) + ;; Only SBCL supports compression as of 2019-09-02. + ,(if (and compress? (string=? (%lisp-type) "sbcl")) + '(defmethod asdf:perform ((o asdf:image-op) (c asdf:system)) + (uiop:dump-image (asdf:output-file o c) + :executable t + :compression t)) + '()) (asdf:operate ',type ,(string-append system "-exec"))))) (define (generate-executable-wrapper-system system dependencies) @@ -339,6 +346,7 @@ which are not nested." (dependency-prefixes (list (library-output outputs))) (dependencies (list (basename program))) entry-program + compress? #:allow-other-keys) "Generate an executable program containing all DEPENDENCIES, and which will execute ENTRY-PROGRAM. The result is placed in PROGRAM. When executed, it @@ -350,6 +358,7 @@ retained." #:dependencies dependencies #:dependency-prefixes dependency-prefixes #:entry-program entry-program + #:compress? compress? #:type 'asdf:program-op) (let* ((name (basename program)) (bin-directory (dirname program))) @@ -382,6 +391,7 @@ DEPENDENCY-PREFIXES to ensure references to those libraries are retained." dependency-prefixes entry-program type + compress? #:allow-other-keys) "Generate an executable by using asdf operation TYPE, containing whithin the image all DEPENDENCIES, and running ENTRY-PROGRAM in the case of an @@ -405,7 +415,7 @@ references to those libraries are retained." `(((,bin-directory :**/ :*.*.*) (,bin-directory :**/ :*.*.*))))))) - (generate-executable-for-system type name) + (generate-executable-for-system type name #:compress? compress?) (let* ((after-store-prefix-index (string-index out-file #\/ -- 2.23.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 02 09:54:56 2019 Received: (at 37269) by debbugs.gnu.org; 2 Sep 2019 13:54:56 +0000 Received: from localhost ([127.0.0.1]:57629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4mnH-0003ez-S0 for submit@debbugs.gnu.org; Mon, 02 Sep 2019 09:54:56 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:44265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4mnG-0003er-4h for 37269@debbugs.gnu.org; Mon, 02 Sep 2019 09:54:54 -0400 X-Originating-IP: 92.169.116.127 Received: from bababa (lfbn-1-4117-127.w92-169.abo.wanadoo.fr [92.169.116.127]) (Authenticated sender: pierre@atlas.engineer) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 2B19C60002; Mon, 2 Sep 2019 13:54:52 +0000 (UTC) From: Pierre Neidhardt To: 37269@debbugs.gnu.org, Andy Patterson , Katherine Cox-Buday Subject: Re: bug#37269: Acknowledgement ([PATCH] build-system/asdf: Add option to compress programs.) In-Reply-To: References: <20190902135020.14473-1-mail@ambrevar.xyz> Date: Mon, 02 Sep 2019 15:54:51 +0200 Message-ID: <87pnki3is4.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37269 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This patch could be used by StumpWM and Next browser to compress the binary. For Next, this compresses the binary from ~100=C2=A0MiB to ~23=C2=A0MiB. T= here is no real drawback, the startup time is still well under 100=C2=A0ms. Andy, Katherine, thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1tHysACgkQm9z0l6S7 zH8OYAf/aptgrtKTfA5ibwMwDP9WSaL0XVvpY6ngA8xuRqKyUZWluWFLv1MA/8+E ap6Sjitvwtr2MGt3L8ZXQMoHqHIqkrZUy8tAwjCTY2c5KOe2LT87DY5p+qDiYSfY ZxumZheAVy+okmdr70jVaDFjvzP6wqUXDAWJNeBEyZlLSkTtCsZt2ihDSD3m4Zak lCEgEGFuQM8R55nxX2tPrfjnPJuZ6feZgOnd1Y2ssc8EYQDy6NMmvuajmxQUX1Oc //m4AjHrn1m1zOCpXIjWiM0dpj3jwSu7fAL/E5qUL9itROtpaoVnwlHYO5K7hmWa 91Wzu67s/CtxmDqNYTkpASPfauHl8w== =CNMM -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 03 10:12:44 2019 Received: (at 37269) by debbugs.gnu.org; 3 Sep 2019 14:12:44 +0000 Received: from localhost ([127.0.0.1]:60427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i59Y4-0003av-Ey for submit@debbugs.gnu.org; Tue, 03 Sep 2019 10:12:44 -0400 Received: from mail-yb1-f181.google.com ([209.85.219.181]:44336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i59Y2-0003ah-T2 for 37269@debbugs.gnu.org; Tue, 03 Sep 2019 10:12:43 -0400 Received: by mail-yb1-f181.google.com with SMTP id y21so5883641ybi.11 for <37269@debbugs.gnu.org>; Tue, 03 Sep 2019 07:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Cng+xBLcO4UgCQIShRzaaBkbQuACNYgaAhCwZL1+EEY=; b=m8XFmC22QDcILbmir+anGTmAWqkxUF/lfnSTlewKwkRWnK4je8VrmtEoVvXK0d6Rjz y6syLMcYgoMGCaR9bS9sIIR/ZsCAtAw+C/BIZ6C1fjdd2bhaLGOHI9tisUlXm2qUXmph HnQvRQKO61ASWEhZbzVIj23if5R104sssJzTJWafCg6N6CJdcDMXAD880TcMWypB4Sv0 zv8/5sfQ2nQ3UMtk2RU7HQhHwbpyiKVACA2GR4qjIWyEX0WL1+3J9nfwTPDQjH6PDcXE 8K7qXob6Hlv0mHQYJPBCpfCK8m+vvgugDD08Fq8Qm/RQ/rp/oJ4KA5UexU3BKjrULCYc J7GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Cng+xBLcO4UgCQIShRzaaBkbQuACNYgaAhCwZL1+EEY=; b=Drr7sF3VcM9QWjLytd8e+Vd3xVr1/dskOh5lkcdQuCIYKMF4W5IVpZ0EOsJJ5vxXOA zFy52TTH/iDrYyBiQfCrtskI8KbcL2EYDBuPCnURnR3r5jkg4bh2nh8aQVTQChavHX0t Q1TRs/h+In/ph2OPgZix5RagD8kqPxJQU7UY9wiWcet5Gpxk3JUdDH/2Qq4zrz2zCBjo nndIzko43CfQ2Q7LD7eXGHiBtEQQH9qEkPpka5AC4J/pWsHJ/Gutkf4r/CyZtlX6jHwu L83aBE5So2OXIU/EnBcAqjgkHvsc2vswyf5tuejTSeS637bSzYmmpgBpeM1aFy2eeLJd xl8g== X-Gm-Message-State: APjAAAWlkLEx3nCPqR2RBRfhvZZgUJvjGZC+72to318sWZg0qUA0Hfaw ehIgES8TwkSF3NDF1Audyq8= X-Google-Smtp-Source: APXvYqwV1QOnd7tqRAwuJSIULFYrVDdL5ZTjbKXtruG7vD5pn29w6OiZqIHdUDdqj+NNQXqA9eAVAg== X-Received: by 2002:a25:44d:: with SMTP id 74mr24949374ybe.338.1567519957255; Tue, 03 Sep 2019 07:12:37 -0700 (PDT) Received: from gazelle-pro ([172.221.246.205]) by smtp.gmail.com with ESMTPSA id p16sm2234080ywm.23.2019.09.03.07.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 07:12:36 -0700 (PDT) From: Katherine Cox-Buday To: Pierre Neidhardt Subject: Re: bug#37269: Acknowledgement ([PATCH] build-system/asdf: Add option to compress programs.) References: <20190902135020.14473-1-mail@ambrevar.xyz> <87pnki3is4.fsf@ambrevar.xyz> Date: Tue, 03 Sep 2019 09:12:35 -0500 In-Reply-To: <87pnki3is4.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 02 Sep 2019 15:54:51 +0200") Message-ID: <874l1t8o4s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37269 Cc: Andy Patterson , 37269@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pierre Neidhardt writes: > This patch could be used by StumpWM and Next browser to compress the > binary. For Next, this compresses the binary from ~100=C2=A0MiB to ~23=C2= =A0MiB. > There is no real drawback, the startup time is still well under > 100=C2=A0ms. This is a great idea and something I lost when I moved from self-compiling SBCL to Guix's version! I am also not aware of any drawbacks, and I love that you implemented this as an option in the build-system. Should we default it to true? Also, as an aside, I am tracking Next; thank you for this project! --=20 Katherine From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 03 10:56:52 2019 Received: (at 37269) by debbugs.gnu.org; 3 Sep 2019 14:56:52 +0000 Received: from localhost ([127.0.0.1]:60451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5AEm-0004nG-4A for submit@debbugs.gnu.org; Tue, 03 Sep 2019 10:56:52 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:51197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5AEj-0004n6-Vv for 37269@debbugs.gnu.org; Tue, 03 Sep 2019 10:56:50 -0400 Received: from bababa (lfbn-1-4117-127.w92-169.abo.wanadoo.fr [92.169.116.127]) (Authenticated sender: pierre@atlas.engineer) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 9960624000C; Tue, 3 Sep 2019 14:56:47 +0000 (UTC) From: Pierre Neidhardt To: Katherine Cox-Buday Subject: Re: bug#37269: Acknowledgement ([PATCH] build-system/asdf: Add option to compress programs.) In-Reply-To: <874l1t8o4s.fsf@gmail.com> References: <20190902135020.14473-1-mail@ambrevar.xyz> <87pnki3is4.fsf@ambrevar.xyz> <874l1t8o4s.fsf@gmail.com> Date: Tue, 03 Sep 2019 16:56:47 +0200 Message-ID: <87pnkhxwb4.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37269 Cc: Andy Patterson , 37269@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, > I am also not aware of any drawbacks, and I love that you implemented > this as an option in the build-system. Should we default it to true? SBCL does not do it by default, so maybe we should respect the default behaviour of the compiler instead. I'll go ahead and apply the patch then. Update SBCL to 1.5.6 and use CLISP or ECL to build it instead of CCL which is not bootstrappable. > Also, as an aside, I am tracking Next; thank you for this project! Thanks! Lots of good stuff will come this month! (1.3.1 released today!) Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1ufy8ACgkQm9z0l6S7 zH8Sygf+IUDCj9Q9ekaw8s4dExvoMBWVzFB0LLo8ynWBXam1YL/IwU+1axD4crNz amlYDTfncKPMuYxINPW2EbduGAW+ZiFro+TOvS/efL/5fJVjMAAb5fBVsrS/FXmN L0NXpzhBPMMLWwcocEk07SVVaQQn4w6C4kroK2VEjJlSk+zTYmmxsCU8SHBR/oEG TUSt9qyYvNou2BLe+HXBlTVCSz3Q7PphnMjgzEbv1a9hjDJM9LZA247EgRm7dgv3 e1gdhVmzxCiLRLje2b7fXuW5tkgAPZTjf4qXfQo8oYUPUbZmhx1UjSCnbu/6t3dn zj7c/K0IoNS2uMPt8aFICsjKLOAQCw== =zhn+ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 04 08:07:25 2019 Received: (at 37269) by debbugs.gnu.org; 4 Sep 2019 12:07:25 +0000 Received: from localhost ([127.0.0.1]:60922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5U4J-0004Av-6R for submit@debbugs.gnu.org; Wed, 04 Sep 2019 08:07:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5U4H-0004Ai-0o for 37269@debbugs.gnu.org; Wed, 04 Sep 2019 08:07:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i5U4B-0000No-KT; Wed, 04 Sep 2019 08:07:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42436 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i5U4B-0004G0-3Z; Wed, 04 Sep 2019 08:07:15 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Katherine Cox-Buday Subject: Re: [bug#37269] Acknowledgement ([PATCH] build-system/asdf: Add option to compress programs.) References: <20190902135020.14473-1-mail@ambrevar.xyz> <87pnki3is4.fsf@ambrevar.xyz> <874l1t8o4s.fsf@gmail.com> Date: Wed, 04 Sep 2019 14:07:12 +0200 In-Reply-To: <874l1t8o4s.fsf@gmail.com> (Katherine Cox-Buday's message of "Tue, 03 Sep 2019 09:12:35 -0500") Message-ID: <874l1s6z9r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37269 Cc: 37269@debbugs.gnu.org, Pierre Neidhardt , Andy Patterson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Katherine Cox-Buday skribis: > Pierre Neidhardt writes: > >> This patch could be used by StumpWM and Next browser to compress the >> binary. For Next, this compresses the binary from ~100=C2=A0MiB to ~23= =C2=A0MiB. >> There is no real drawback, the startup time is still well under >> 100=C2=A0ms. > > This is a great idea and something I lost when I moved from > self-compiling SBCL to Guix's version! > > I am also not aware of any drawbacks, and I love that you implemented > this as an option in the build-system. Should we default it to true? Compressed files are opaque to the garbage collector scanner and to grafting, so we could end up in situations like: https://issues.guix.gnu.org/issue/33848 (Which would be nice to address, BTW! :-)) Thus, I think we=E2=80=99ll have keep compression turned off. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 04 08:54:11 2019 Received: (at 37269) by debbugs.gnu.org; 4 Sep 2019 12:54:11 +0000 Received: from localhost ([127.0.0.1]:32779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5Una-0005MT-OS for submit@debbugs.gnu.org; Wed, 04 Sep 2019 08:54:10 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5UnZ-0005MK-16 for 37269@debbugs.gnu.org; Wed, 04 Sep 2019 08:54:10 -0400 X-Originating-IP: 92.169.116.127 Received: from bababa (lfbn-1-4117-127.w92-169.abo.wanadoo.fr [92.169.116.127]) (Authenticated sender: pierre@atlas.engineer) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id CB6CCE000A; Wed, 4 Sep 2019 12:54:06 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Katherine Cox-Buday Subject: Re: [bug#37269] Acknowledgement ([PATCH] build-system/asdf: Add option to compress programs.) In-Reply-To: <874l1s6z9r.fsf@gnu.org> References: <20190902135020.14473-1-mail@ambrevar.xyz> <87pnki3is4.fsf@ambrevar.xyz> <874l1t8o4s.fsf@gmail.com> <874l1s6z9r.fsf@gnu.org> Date: Wed, 04 Sep 2019 14:54:06 +0200 Message-ID: <87sgpcdxxt.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37269 Cc: 37269@debbugs.gnu.org, Andy Patterson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Compressed files are opaque to the garbage collector scanner and to > grafting, so we could end up in situations like: > > https://issues.guix.gnu.org/issue/33848 > > (Which would be nice to address, BTW! :-)) > > Thus, I think we=E2=80=99ll have keep compression turned off. Actually, in this case it doesn't. I tried with Next and the resulting package keeps all references to the Common Lisp libraries. I believe that SBCL only compresses the image, not the sources (which are embedded as well). Anyways, I won't turn it off for now. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1vs+4ACgkQm9z0l6S7 zH8mtQf/SLEFUi3bo2K7iABnQc5gC3VI4rTvcIratga1n/xbgrlExv/82s5u2yG/ bb8Y91qt//+Pm1UTIQao9ACje++lCTVf1VYxMuVakm8eIt9u343MigjBpAJbGJvJ Rdo8KbT46q1HYQJWDpOUfN36vMIcWh7X7dqpyfNmayE1o6zT/zAB3StiIIcjzeh3 N4pilhxtUunNV4NT7c7pqJNtn5RD6pRnge4VIG2XZjrf3p89qIloU8f5hipAzd8m utYlaWAhL8ttmWDIU7tpRVkdXkh9ehnZkkTd4U9wu2LGkEngK0giB6YZooTBmlHW 0F3cfEFBgk5xfovAJ5aU0nm9nGM0cQ== =W6LV -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 05 04:34:05 2019 Received: (at 37269) by debbugs.gnu.org; 5 Sep 2019 08:34:06 +0000 Received: from localhost ([127.0.0.1]:34679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5nDR-00013V-LF for submit@debbugs.gnu.org; Thu, 05 Sep 2019 04:34:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5nDQ-000131-1R for 37269@debbugs.gnu.org; Thu, 05 Sep 2019 04:34:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i5nDK-0007JG-4S; Thu, 05 Sep 2019 04:33:58 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53128 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i5nDJ-0001JG-IA; Thu, 05 Sep 2019 04:33:57 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: [bug#37269] Acknowledgement ([PATCH] build-system/asdf: Add option to compress programs.) References: <20190902135020.14473-1-mail@ambrevar.xyz> <87pnki3is4.fsf@ambrevar.xyz> <874l1t8o4s.fsf@gmail.com> <874l1s6z9r.fsf@gnu.org> <87sgpcdxxt.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Fructidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 05 Sep 2019 10:33:56 +0200 In-Reply-To: <87sgpcdxxt.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 04 Sep 2019 14:54:06 +0200") Message-ID: <87lfv3i1l7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37269 Cc: Andy Patterson , 37269@debbugs.gnu.org, Katherine Cox-Buday X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pierre Neidhardt skribis: > Ludovic Court=C3=A8s writes: > >> Compressed files are opaque to the garbage collector scanner and to >> grafting, so we could end up in situations like: >> >> https://issues.guix.gnu.org/issue/33848 >> >> (Which would be nice to address, BTW! :-)) >> >> Thus, I think we=E2=80=99ll have keep compression turned off. > > Actually, in this case it doesn't. I tried with Next and the resulting > package keeps all references to the Common Lisp libraries. > I believe that SBCL only compresses the image, not the sources (which are > embedded as well). OK. We=E2=80=99d need to see exactly what it does if we decide to enable it=E2=80=94better safe than sorry! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 05 09:26:51 2019 Received: (at control) by debbugs.gnu.org; 5 Sep 2019 13:26:51 +0000 Received: from localhost ([127.0.0.1]:34928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5rmk-0003cd-R6 for submit@debbugs.gnu.org; Thu, 05 Sep 2019 09:26:51 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:55393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5rmh-0003cQ-0R for control@debbugs.gnu.org; Thu, 05 Sep 2019 09:26:47 -0400 X-Originating-IP: 92.169.116.127 Received: from bababa (lfbn-1-4117-127.w92-169.abo.wanadoo.fr [92.169.116.127]) (Authenticated sender: pierre@atlas.engineer) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 8308424001A for ; Thu, 5 Sep 2019 13:26:44 +0000 (UTC) From: Pierre Neidhardt To: control@debbugs.gnu.org Subject: control message for bug #37269 Date: Thu, 05 Sep 2019 15:26:43 +0200 Message-ID: <87y2z2an70.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) --=-=-= Content-Type: text/plain close 37269 quit --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1xDRMACgkQm9z0l6S7 zH/AuQgAkq8+SPS/6gQs4wOPVwiKBJXDP8iGeVSO+lrKQRFlU2RvmNrApqZ94vc7 NbfUox5h+rZdExCFEJuB4a5R8ccA0XZNXdo0lkjILVDSi1nCEJQWskRXkMmmuZUc SAeng2E9x/JqWQMMYlbji10IILsTgUEzylQWU6PM7bn0HKvmJctVvhWZNORh2Mc6 8RXVlnO4vCdy70T76YOk9e5v/Ayfqu7FpW4N6GTg16cUVSFge9FuORjZj/kv5OWT QskTrQbL/AlBs9H+p5F/zyjQHVYBKug4JZ1qj7NeHgbZJYZoeFPwjTDoh356+kr9 nyxSO4no6f0tYqxHGG7PHkdzRa+4ug== =yNoO -----END PGP SIGNATURE----- --==-=-=-- --=-=-=-- From unknown Sat Jun 21 03:04:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Oct 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator