From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qO7YIQiSW1/mfAAA0tVLHw (envelope-from ) for ; Fri, 11 Sep 2020 15:04:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kL9DHAiSW1+QJQAAbx9fmQ (envelope-from ) for ; Fri, 11 Sep 2020 15:04:40 +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 294889408E7 for ; Fri, 11 Sep 2020 15:04:39 +0000 (UTC) Received: from localhost ([::1]:54732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGkbO-00061a-QF for larch@yhetil.org; Fri, 11 Sep 2020 11:04:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGkaD-0004xP-MI for guix-devel@gnu.org; Fri, 11 Sep 2020 11:03:25 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:12037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGkaB-0001PI-8O; Fri, 11 Sep 2020 11:03:25 -0400 X-IronPort-AV: E=Sophos;i="5.76,359,1592863200"; d="scan'208";a="358725672" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2020 16:55:42 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: linux-module-builder leads to huge store items References: <874ko6jbo8.fsf@inria.fr> <20200910150453.7f968562@scratchpost.org> <87mu1x7g32.fsf@inria.fr> <20200911130959.479f9348@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Fructidor an 228 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: Fri, 11 Sep 2020 16:55:35 +0200 In-Reply-To: <20200911130959.479f9348@scratchpost.org> (Danny Milosavljevic's message of "Fri, 11 Sep 2020 13:09:59 +0200") Message-ID: <87k0x0tlaw.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/11 10:55:42 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix-devel , Mathieu Othacehe Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 4YBzubcsehLb Hi Danny, Danny Milosavljevic skribis: >> So, I can think of the following ways to address that: >>=20 >> 1. Remove for example *.c, assuming the out-of-tree modules we package >> only care about *.h + build machinery. > > The biggest source files, see above, are header files > (drivers/gpu/drm/amd/include/asic_reg). > >> 2. Don=E2=80=99t add all of the Linux source to the store, or at least= not >> under a new name each time. One way to do that would be to unpack >> the Linux-libre tree within the build tree of the out-of-tree >> module. We=E2=80=99d be reducing GC stress at the expense of a >> (reasonable?) increase in module build time. [...] > I checked--that would reduce the size of linux-libre-builder by about 800= MB > (to 255 MB; see [1][2]). > That would mean that some modules can't be out-of-tree. But I guess > that's okay--and we could not-delete some files later if need be. Yes, that=E2=80=99s OK. I=E2=80=99d say let=E2=80=99s delete as much as po= ssible, and then, if it eventually turns out to be a problem for a new out-of-tree module package, we can re-add files selectively. Could you give it a try? > Btw, linux-libre is currently not reproducible--see bug 43301. > That could introduce a security problem if the Linux kernel and > an out-of-tree module are compiled differently (they are) and then loaded > into the same kernel (even now). One thing at a time. :-) Thanks, Ludo=E2=80=99.