From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cOTfJZ2sDWYtkQAAqHPOHw:P1 (envelope-from ) for ; Wed, 03 Apr 2024 21:23:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cOTfJZ2sDWYtkQAAqHPOHw (envelope-from ) for ; Wed, 03 Apr 2024 21:23:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Lo2fQfZh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712172189; a=rsa-sha256; cv=none; b=ED0wSC+Lb4F1Xn1/d5eEo2lY3XlIpGMDX+OVcXOVAfsTqe33uDECsRLmT4e033Wru51fbM s8DB/NckNG4IqofVTt9Hzf+28LOpJq2D8lH09hi7Q6g2KOr1u/4nIxxHzUZWOjKcZMYcPA C2OhGJu68BazoWURoF2JIi/6JaKhzXVfslOq08bHj9hZudC3ViymIVpj+ahmURZkXi8+0D AQEgz0C0NytLs02ECJtvtSZeoo1aXuKmEgVLTNA3aMk36JQPVzG4KeJKqj0DI4IfcgDFoJ acWy4c9UWgEJY3zJp6ZPkR/i8xE1f8iQYvWzfnJL7Nill5/zO2C2hHJ7IVHkLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Lo2fQfZh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712172189; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=ndXmo0VgXIyPMsDKV+SoZKr5HmfEBXmDiQj4FRXh57M=; b=TytN1TihnLi9tUWlwXGIQCwhFBmSUibT5xj9Qq1lq43l3CqJnTOv4ZhXsN6/7kVmcyZX7K kYzZQeAvEs4PLa1TUzyK1AFiiPvoEKs6yjnnPFY4T7dV1JlAGrv6s3IW12y6yBoe0CLKQr g24QYXUFSriFy6XXqzSsRHxjnNDkSJB5NSf0hV+vdkzuuUiLTFcQDB3ts9c+Yk3HBlVdKX RB1bskpy5VNY0gtTe0oW1G+QIf1pIEWKc6J/h89lmZm2Ktubwq7mP3dfNyLwYQkuRnGWvt cVyjeeU2CcVrYLSjdcmpTlrMltzvII+LLOz6+rC2g3QcQYw4Zf1l6ZHZEHnDiQ== 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 687536BAA2 for ; Wed, 3 Apr 2024 21:23:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rs6CJ-0001Co-OI; Wed, 03 Apr 2024 15:22:59 -0400 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 1rs6CI-0001CI-0L for guix-patches@gnu.org; Wed, 03 Apr 2024 15:22:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rs6CH-0006lt-N2 for guix-patches@gnu.org; Wed, 03 Apr 2024 15:22:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rs6CL-0005bH-Va for guix-patches@gnu.org; Wed, 03 Apr 2024 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63393] [PATCH 0/2] Fix libstdc++.so and gcc-toolchain Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2024 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63393 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Isaac van Bakel , 63393@debbugs.gnu.org, Kaelyn , Simon Tournier Received: via spool by 63393-submit@debbugs.gnu.org id=B63393.171217214621423 (code B ref 63393); Wed, 03 Apr 2024 19:23:01 +0000 Received: (at 63393) by debbugs.gnu.org; 3 Apr 2024 19:22:26 +0000 Received: from localhost ([127.0.0.1]:59689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs6Bl-0005ZS-V5 for submit@debbugs.gnu.org; Wed, 03 Apr 2024 15:22:26 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:32109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs6Bi-0005Yb-Qm for 63393@debbugs.gnu.org; Wed, 03 Apr 2024 15:22:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1712172132; x=1712431332; bh=ndXmo0VgXIyPMsDKV+SoZKr5HmfEBXmDiQj4FRXh57M=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Lo2fQfZhGUasGClMmYVCO/kGwYQy0KGiVXuo698WTJJYCDX/q8ybwoUCu00H8A4CU bFdI4fDZ8I9IHDw/Fmw/Zvl8gbNCuTOzqHHtTbvEWBF/yTULxWJPwmijNSAWQZTRXP B6w12VxnY1ie6yehHTWcdUK6vIg/x0yiJrFTIm0Z6U4BItWFDXCv1eRunRTo87xkYW kpp/vsg31iOain7boketxnLatYgOL5JBIHciyYywOiZOq8Li36wNgBUbiCiLPtPHYM GHZrjnxYDvAY0issIq+1U3hc0mU4gxsVi3W1CAjkC3TshyNlEcYTPut8VlqQ9xxiot 8LiarfHSr01xA== Date: Wed, 03 Apr 2024 19:22:06 +0000 Message-ID: <87bk6qw8th.fsf@protonmail.com> In-Reply-To: <87sf9nzoxf.fsf_-_@protonmail.com> References: <87sf9nzoxf.fsf_-_@protonmail.com> Feedback-ID: 7805494:user:proton 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: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.36 X-Migadu-Queue-Id: 687536BAA2 X-Migadu-Spam-Score: -5.36 X-Migadu-Scanner: mx10.migadu.com X-TUID: wroZM6mbkggV Hi everyone, (And adding another CC for Isaac, where I think their message went just to the debbugs address, which goes to no one. Another victim of needing a "wide reply" which is easy from e.g. Emacs but not obvious especially for people who don't interact with debbugs much as I can attest to in my earlier days. Anyway, that's yet another issue to improve elsewhere.) On Sun, Jul 16, 2023 at 06:33 PM, John Kehayias wrote: > Hello, > > On Thu, May 11, 2023 at 03:38 PM, Ludovic Court=C3=A8s wrote: > >> Hi, >> >> Simon Tournier skribis: >> >>> * gnu/packages/commencement.scm (make-gcc-toolchain): Add 'lib' outputs= . >> >> [...] >> >>> (filter-map (match-lambda >>> (("libc-debug" . _) = #f) >>> (("libc-static" . _)= #f) >>> + (("gcc-lib" . _) #f) >>> + (("gcc-debug" . _) #= f) >> >> I would include gcc:lib in =E2=80=9Cout=E2=80=9D (thus not adding a = =E2=80=9Clib=E2=80=9D output to >> =E2=80=98gcc-toolchain=E2=80=99). >> >> Yes, gcc:lib includes *.a and *.la, but those are already part of the >> =E2=80=98gcc-toolchain=E2=80=99 closure: >> >> $ guix size gcc-toolchain |head -6 >> store item total = self >> /gnu/store/jv78mm3dmr6fl2hhy1bkbhfpm702v3gq-gcc-12.3.0 292.6= 169.4 41.2% >> /gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38 95.5= 54.9 13.4% >> /gnu/store/g8p09w6r78hhkl2rv1747pcp9zbk6fxv-guile-3.0.9 134.0= 53.1 12.9% >> /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35 40.6= 38.8 9.4% >> /gnu/store/gmv6n5vy5qcsn71pkapg2hnknyn1p7g3-gcc-12.3.0-lib 76.8= 36.2 8.8% >> >> However, I=E2=80=99d leave out gcc:debug because (0) it=E2=80=99s unrela= ted :-), (1) >> =E2=80=98gcc-final=E2=80=99 has no =E2=80=9Cdebug=E2=80=9D output, and (= 2) it=E2=80=99s really for a niche >> (folks developing compiler plugins, typically). >> >> I=E2=80=99d also leave out the /lib directory of Binutils, which is agai= n rarely >> useful. >> >> WDYT? >> To return to this, at the very least so I don't have to give the incantation (which I got from someone else): guix shell -e '(list (@@ (gnu packages commencement) gcc) "lib")' to someone on IRC every few days. I'm sending a V2 of sorts, where it is the first patch from Simon (I had to make a minor adjustment for it to apply cleanly now, please double check!) and then my own very basic patch to solve the issue at hand: just add gcc:lib to the inputs. I checked that building gcc-toolchain works and includes libstdc++ and libgcc_s, which are the ones everyone always asks about and assumes would be in gcc-toolchain. What do we all think? This is low impact and I don't think should negatively affect anything so it would be great to get this pushed and close this finally :-) Hope all is well! John