From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id upyqEZaluGAXkQAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 11:49:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SEMTDJaluGBKZQAA1q6Kng (envelope-from ) for ; Thu, 03 Jun 2021 09:49:10 +0000 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 B369A1F654 for ; Thu, 3 Jun 2021 11:49:09 +0200 (CEST) Received: from localhost ([::1]:42060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lojyO-0007C1-Pe for larch@yhetil.org; Thu, 03 Jun 2021 05:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lojyH-0007AB-VF for guix-patches@gnu.org; Thu, 03 Jun 2021 05:49:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lojyH-0005In-Nc for guix-patches@gnu.org; Thu, 03 Jun 2021 05:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lojyH-0008Ct-LU for guix-patches@gnu.org; Thu, 03 Jun 2021 05:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47251] [core-updates] [patch] gnu: python: Enable optimizations. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 09:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 47251@debbugs.gnu.org Received: via spool by 47251-submit@debbugs.gnu.org id=B47251.162271372931529 (code B ref 47251); Thu, 03 Jun 2021 09:49:01 +0000 Received: (at 47251) by debbugs.gnu.org; 3 Jun 2021 09:48:49 +0000 Received: from localhost ([127.0.0.1]:42417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lojy4-0008CT-Ru for submit@debbugs.gnu.org; Thu, 03 Jun 2021 05:48:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lojy4-0008CH-41 for 47251@debbugs.gnu.org; Thu, 03 Jun 2021 05:48:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34356) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lojxy-000561-CR; Thu, 03 Jun 2021 05:48:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59544 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lojxy-0002s4-3s; Thu, 03 Jun 2021 05:48:42 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210319001622.1c19ad41@tachikoma.lepiller.eu> <87r1jva3rj.fsf@gnu.org> <20210603040635.3b6c7d12@tachikoma.lepiller.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Prairial an 229 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, 03 Jun 2021 11:48:40 +0200 In-Reply-To: <20210603040635.3b6c7d12@tachikoma.lepiller.eu> (Julien Lepiller's message of "Thu, 3 Jun 2021 04:06:35 +0200") Message-ID: <875yyvwa6f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622713750; 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; bh=K7Ip77RilLmWUcs1hvwiBYowb+8z7XRKWwD5Bx/szcs=; b=sxYWRVO/SIlUJzBq3TJ7jHdrVaxv6d2E5IcA587f7ueZqn6ZXaMJ6i2knOluJZmR43rJTZ 5k6jVtZ666olD2R2miLbehHgOwZ7iz2K6y99gsyNd1VmmE3Bm6yb+/Drb+3olg5E3BNH8z 0Pl41OssyCVdee5LxT8ZO2JAtkfrC5bqbcyiuQpOAilg+TidOKaK6MHFV6JwF8jPBVCky/ PCpp4FbsaTB7wzsfVEf2THqh1vYjLSXHrGAIySO8Fh2VlJvAngqST88Dtthz3HVvksOIu5 9u5a/h8f43qmmfXtgwEZJPVgxnh8puWPa7m7q8tsDBGDOeOTuYD2KmT6Imuj7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622713750; a=rsa-sha256; cv=none; b=hEMFiIkK1UMNiWrbUkF3lcOI9vdG7zRkGVoVGWOaeOa0ex8a56cBbyE/AssyuHDHo5V5R4 o3qyHzODV2NJjTScdmTQQpgDy+n+XEJlG//2x1EWmPEPvwMqGFc7AJu5f8F8P+cXLmuXVl HeIc/HwL64zb57Rfn8n9cqKod+M9/xOjJggoqz8TkFBRcIY3W8vvcYMrwWG+X70u/a9tmw BqPpY56Z/d6ZXSFR1dnTSfjoI+vGTy/1GkYveXHALemmxLmqemL5MIl1QlzxOD3QHFV0oT yh5QH6Ptu0MleLL0DKGGn+B+DqGHaqw/7tFO+Fd3rH8XC7R6lY8Ehl/1YeDLrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B369A1F654 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: in3hNWm+XzKm Hi, Julien Lepiller skribis: > But I noticed another file gained a lot of weight: > lib/python3.9/config-3.9-x86_64-linux-gnu/libpython3.9.a weighs 39MB, > whereas on master (for 3.8.2) it weighs 6MB. Here is what size has to > say: Yeah, the .o files in there likely contain serialized GIMPLE, as a result of compiling with =E2=80=98-flto=E2=80=99. How about removing *.a altogether in a separate patch? Or moving it to a =E2=80=9Cstatic=E2=80=9D output? This would be consistent with what=E2= =80=99s done in other packages. Thanks, Ludo=E2=80=99.