From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id INfaBTXPU2QMfQEASxT56A (envelope-from ) for ; Thu, 04 May 2023 17:28:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MD6DBDXPU2SyWwEAG6o9tA (envelope-from ) for ; Thu, 04 May 2023 17:28:53 +0200 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 D2CC9DAE for ; Thu, 4 May 2023 17:28:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puasq-0002KB-3P; Thu, 04 May 2023 11:28:41 -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 1puarG-0002BX-Rx for bug-guix@gnu.org; Thu, 04 May 2023 11:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puarG-0007bh-JG for bug-guix@gnu.org; Thu, 04 May 2023 11:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puarG-0004qT-Dz for bug-guix@gnu.org; Thu, 04 May 2023 11:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63267: gcc-toolchain is missing libstdc++.so Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 May 2023 15:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63267 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Rodriguez Cc: guix-devel@gnu.org, 63267@debbugs.gnu.org Received: via spool by 63267-submit@debbugs.gnu.org id=B63267.168321398718539 (code B ref 63267); Thu, 04 May 2023 15:27:02 +0000 Received: (at 63267) by debbugs.gnu.org; 4 May 2023 15:26:27 +0000 Received: from localhost ([127.0.0.1]:51840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puaqg-0004ox-RF for submit@debbugs.gnu.org; Thu, 04 May 2023 11:26:27 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:57183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puaqe-0004oh-Dw for 63267@debbugs.gnu.org; Thu, 04 May 2023 11:26:24 -0400 Date: Thu, 04 May 2023 15:26:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683213978; x=1683473178; bh=NAsXGVNhJeXl1Ff2JVjfoRFgTmtrj8KxrM4qtc/l7U8=; 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=boPJptfdNEA0ZSfo7jb7FG3ul1PBQiXBQhfpODhnhtk1WXmLebCP8BYXwjwpKOK0t 5B0x0UY35dr/UEYwAaZZfVXdEaf1W/26zI5TAzejD6+qkmCamPxf8oyem4WeyaNvUR 1nePJtvGeGpzsN4xkspRpJeSy/bTYkJFAThtt1HCaHcPY+WbCwGVw1HQFSynPsSaTY e4krM5biPi8Kvyo3HXY2Rp5jeQoZMOIEDP8wADeKqbgfKMKi7Q7/qDLc2Purw5leVR OD8EHJHBYop9SE/4/6zCP5l0dmXAn3Jwvh8Nk0xuK2aswFTM0Dowued1riMlS6wUTz xTX9n8nwzU1wQ== Message-ID: <874jos15kh.fsf@protonmail.com> In-Reply-To: References: 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias From: John Kehayias via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683214132; a=rsa-sha256; cv=none; b=DlKN/u0p69NioA3YARMLTr+s5GOEarxxNG0KAonWVE+jfTeAepfL6owkNClfeqhfdJHj6u 3pw+MKqME3jtbAIq45Ery0q7KofBH0iYQ7sur+OJlptwOGXe/a1aCXw7KveU1NQh5y+VxW yroGCDLZmn7FHrv/2XgBVSQAnyhJ/EMa7rOCDUUnPNvcFbIxj9tNW4acnlRvaCs6IQRrka sBrnmMgDK+7ytXf5oig+WhSnTnlMOx0sOtYKNVcspN9Lgl86NZmfzusVXEfWGcOEDdTo3N NsQuPd0tC5wc5dzWwnvvarf9Y3fWxJiL7jzglkjRKy9dRtTmQMTGGYqISjvBow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=boPJptfd; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683214132; 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=NAsXGVNhJeXl1Ff2JVjfoRFgTmtrj8KxrM4qtc/l7U8=; b=ib1IwK/ljLbkLIP061Hx+gakIQCIbXUSIUSZAAAjYfcYu/xG9+SlYO33UTETkY10Drewvh yO6Tz1SCEBp8ki/S7vfyeUFDp4H0kyPalSxdnyTqQ0t2TuiH+exeFatUgLxvVpUNPiLRKp AFrff4xsFOk6ZbXIKnqfVM+X/aOxvGB4DI/qxyvjrWVnfPyCPDtDxhbLwqBfVZS7B+tmde AJzg89J5H7nWhRfFbgDNfanq3xvmSCV+h9ZZHGe/8w37wUd6XHwIoU11dC0NDfEiLJ50IY GEGnXdDbS3FYWJjMNkMpCMO0jThasUZt7iF8BHDF53qJH3LcjwyCjsxX0NeaGg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=boPJptfd; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.21 X-Spam-Score: -2.21 X-Migadu-Queue-Id: D2CC9DAE X-TUID: 9VzrPhZrwPa3 Hi Christopher, On Thu, May 04, 2023 at 11:05 AM, Christopher Rodriguez wrote: > > Sorry for the spam; Resending this without the bugs address, but with > the issue's address. > > Christopher Rodriguez writes: > >> >> Hello All, >> >> I noticed today that libstdc++.so.1 (and some others), which used to be >> part of gcc:lib, are not included in any of the outputs of the >> superceding `gcc-toolchain` package. >> >> Is there another method for getting these needed shared libraries in a >> guix system at this point? It's entirely possible I'm missing something. >> >> I am CCing guix-devel@gnu.org per podiki[m]'s request. >> >> Thanks! Thanks for opening this and cc'ing; this has come up with some frequency on IRC, especially recently. In discussing there today, the current reasoning is that usually one will just call g++ which knows how to find libstdc++. So, gcc-toolchain does not include gcc:lib as part of what it makes available. I think what we (and when this comes up, others) are getting at are some edge cases or different use cases where one wants to directly get at libstdc++. Previously it was more direct to use gcc:lib; of course one still can in code and/or cli with the proper call. For example, guix build -e "(@@ (gnu packages gcc) gcc)" will download/build/show the lib output of the (hidden) gcc package. Though I'm not sure how to select just the lib output here. My use case currently is in the FHS container where a binary wants to find some libraries directly. Previously one would include the gcc:lib package output in the guix shell call. Now some of those libraries can be found elsewhere, like libgccjit, but libstdc++ seems to be the trickier one. Open to other suggestions/workarounds, or thoughts on if it is worthwhile to include gcc:lib in the gcc-toolchain package (or make a gcc-toolchain:lib output?). Thanks all! John