From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QA6wM1XUoGN3AwEAbAwnHQ (envelope-from ) for ; Mon, 19 Dec 2022 22:15:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SLx3M1XUoGMx5wAA9RJhRA (envelope-from ) for ; Mon, 19 Dec 2022 22:15:01 +0100 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 7759C10CDC for ; Mon, 19 Dec 2022 22:15:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7NSz-000858-Jc; Mon, 19 Dec 2022 16:14:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7NSx-00084i-4Z for guix-devel@gnu.org; Mon, 19 Dec 2022 16:14:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7NSv-00050s-LA; Mon, 19 Dec 2022 16:14:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=cCd4lJfKj+OBRo9oTVjgtLNyv9qSOr3pJaxXgiQYX9k=; b=ZoQkNOq8jAfF6HmEdpbs ef7kN2cVhJ7DMAeVHFkiLlIBrxB494kSVG0Qc21gwblb201r7yE/9RRfLuBiKYd2n6NKk3ZjnUCeN lJDwh8QWk22zj66eeZMz65jDgg/71xBkq3r3s1SYwhxJGlpL2yj3BA1+9VIXhciN4K08c6rZY90jW sEOUX8xa1eQbI5E54k67sawS1EMvIwXq86vOWFgr9NJbTRT781iF4hY6sE+ftVJ/L9J/oVTqoEmFn ZbqLMCiWsLKpFol679PvL1VSsuOxwk6HmtzZRQMQvLj3z7yMyDncTSnper+yV8qxAfO9+d6pwqgNv sIGfcFfIh1deGg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7NSv-0004Zd-0t; Mon, 19 Dec 2022 16:14:29 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Julien Lepiller Cc: guix-devel@gnu.org Subject: Re: Experimenting with reduced gcc-lib References: <20221208223129.40687d0b@sybil.lepiller.eu> <87bko4pwh1.fsf@gnu.org> <3059C8A7-7F80-406A-84F0-DAE02D7D6D75@lepiller.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 29 Frimaire an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de l'Olive 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: Mon, 19 Dec 2022 22:14:26 +0100 In-Reply-To: <3059C8A7-7F80-406A-84F0-DAE02D7D6D75@lepiller.eu> (Julien Lepiller's message of "Thu, 15 Dec 2022 17:59:38 +0100") Message-ID: <87ili7cczx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ZoQkNOq8; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671484501; a=rsa-sha256; cv=none; b=UYaSc0RPVzGh+c78p5/mR6tsIRA0aiB+R8ygarceY1w/bpsIjhBUjSDiiX8V9pQ0X7zEJV HtyV1wZoKGRZ+zYi+AAdu0gnrqqY94FrzdGXUYJEMToTzIYWHqOS3fYjnpmMGKgW70P0w8 6wyZDMN+VDyByzV5iLolFByNgsUhO1b/FMjTJzPyC5sppZjiM1twpHENDoFIBthu50XLsv e8HN+yITSb57B7ipgEgnItLwnRC+exMTV9eIMGVdkbg3oGSGIF+giXLfqzH54JLPybV8p2 oOJbJe8MpFbK6CjLbwSvmWNwoGlWdyMSe1rJi9Ut2f99HyaIvnTykGKLbSwgUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671484501; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=cCd4lJfKj+OBRo9oTVjgtLNyv9qSOr3pJaxXgiQYX9k=; b=juK8gdAx3RHYDvDnEiV9Nz3RxqcYxcJ6Eln4BkEWnOnQmAK1fmrfYRrTUuzyAUMnVZM6Zi 5/obpbAlbxAh3THSrSAVH9ePHYCXhLJSkShyesTgRTVsXMhA2A80FR4pocKeWpjAIs8j7P xMGYfYIw4iRQkOh8lh61IFNkVOFieuCr1X7KvdAuMr3PZeuXS+wUDXkPsy0qWf3G8yB13R kOt1JsdFbMne+GkkSOkllUnwV5fAmrR+QM7eDwFQG2+MqSb7s1nCo4aNUkYTyM+mPHsZkh W7Y8fygahYqa4jhGDUCwdKi90jvtNffp7W5BAYbq/6ifqor+H2QYSAYFzJ9vpg== X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ZoQkNOq8; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -7.70 X-Spam-Score: -7.70 X-Migadu-Queue-Id: 7759C10CDC X-TUID: CG+3rRlIPRxh Hi! Julien Lepiller skribis: > Le 15 d=C3=A9cembre 2022 15:34:02 GMT+01:00, "Ludovic Court=C3=A8s" a =C3=A9crit=C2=A0: >>> (outputs '("out" ;commands, etc. (60+ MiB) >>> - "lib" ;libgcc_s, libgomp, etc. (1= 5+ MiB) >>> + "shared-lib" ;libgcc_s, libgomp, etc. (5= + MiB) >>> + "static-lib" ;object code libraries and = internal data files of GCC. (10+ MiB) >> >>The convention is to use =E2=80=9Clib=E2=80=9D for shared libraries and = =E2=80=9Cstatic=E2=80=9D for >>static libraries. > > But using lib introduces a --libdir argument which is used to install sta= tic libs=E2=80=A6 I see. Then maybe we should override the =E2=80=98configure=E2=80=99 phase= , or repeat =E2=80=98--libdir=E2=80=99 in the hope that the second one wins? >>Is libgomp in =E2=80=9Clib=E2=80=9D? Is it found when linking with =E2= =80=98-fopenmp=E2=80=99? > > Well, shared-lib should be renaimed into libgcc, because it's the only li= brary there. OK. > Libgomp amd all other libs are in static-lib (which is not well named eit= her ^^'). It will be found I think but not tested (it find libstdc++ in the= same directory). Heh. :-) I think it would be great to have all the .a in a separate output. Thanks, Ludo=E2=80=99.