From unknown Sat Jun 21 05:07:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53940: Wrong gcc path ? Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Feb 2022 14:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53940 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53940@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Reply-To: cayetano.santos@inventati.org Received: via spool by submit@debbugs.gnu.org id=B.164458920726254 (code B ref -1); Fri, 11 Feb 2022 14:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2022 14:20:07 +0000 Received: from localhost ([127.0.0.1]:58626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIWmN-0006pO-DA for submit@debbugs.gnu.org; Fri, 11 Feb 2022 09:20:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:39440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIWmL-0006pG-IN for submit@debbugs.gnu.org; Fri, 11 Feb 2022 09:20:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIWmL-00017A-7U for bug-guix@gnu.org; Fri, 11 Feb 2022 09:20:05 -0500 Received: from latitanza.investici.org ([82.94.249.234]:30853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIWmI-0003Gz-HH for bug-guix@gnu.org; Fri, 11 Feb 2022 09:20:04 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4JwG3B5kZlzGpTK for ; Fri, 11 Feb 2022 14:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1644589190; bh=iWZmnMCXeLoBgl8+Aiv4Gs8xTcPZlcN0QXQvxaqJNss=; h=From:To:Subject:Date:Reply-To:From; b=X36gp2kf6Wh76vW1RocSxFBPED806vLvqlReEAIf8CWKbCbTICzLgvPeed12wcPk/ ZcGo9DD5FZPbU6xPewEErAzw8sxdJ06xJgRG1j3ldNcZEeUpCRMZ2SzH5IW4470+tJ XoXTJQ2iDzRBD6awX0WH5ICmFKUr9dJB7sk38XTA= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4JwG3B503bzGpTJ for ; Fri, 11 Feb 2022 14:19:50 +0000 (UTC) User-agent: mu4e 1.6.10; emacs 28.0.91 From: Cayetano Santos Date: Fri, 11 Feb 2022 15:15:50 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=82.94.249.234; envelope-from=cayetano.santos@inventati.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello Guix, I'm building a container with 'guix shell --container', and including gcc-toolchain. Under /gnu/store I get gcc 11.2 as well as gcc 10.3, both with -lib directories. Problem is I get an error about GLIBCXX_3.4.29 missing. My software compiles (and finds) the wrong gcc 10.3 lib, and not the correct 11.2. How can I set the correct gcc libs ? I have located the folder, but the random hash makes it unusable. I mean, setting LD_LIBRARY_PATH solves the problem, but, how to guess the right one ? To reproduce the problem, I have created an example repository here: https://gitlab.in2p3.fr/csantos/examples/guix-issue Is that related to guix ? Thanks, Cayetano Santos From unknown Sat Jun 21 05:07:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: cayetano.santos@inventati.org Subject: bug#53940: closed (Wrong gcc path ?) Message-ID: References: <87ed0be7qr.fsf@inventati.org> X-Gnu-PR-Message: they-closed 53940 X-Gnu-PR-Package: guix Reply-To: 53940@debbugs.gnu.org Date: Thu, 06 Feb 2025 09:36:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1738834561-26796-1" This is a multi-part message in MIME format... ------------=_1738834561-26796-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53940: Wrong gcc path ? which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53940@debbugs.gnu.org. --=20 53940: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53940 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1738834561-26796-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53940-done) by debbugs.gnu.org; 6 Feb 2025 09:35:14 +0000 Received: from localhost ([127.0.0.1]:54373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfyHy-0006tf-0M for submit@debbugs.gnu.org; Thu, 06 Feb 2025 04:35:14 -0500 Received: from devianza.investici.org ([198.167.222.108]:60767) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfyHv-0006r9-LP for 53940-done@debbugs.gnu.org; Thu, 06 Feb 2025 04:35:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1738834510; bh=4Qk3ZqlCDTFjQ3nnI6xx96jD0of9cL+2jE49vZBZ9rI=; h=From:To:Subject:Date:From; b=o98RAEp6MA7yjFoE4gkXcfsApsrl2cY9zdPtjj15eJFq9FauIzOF61EaRt0Ar4Y61 lKG4E9fHPgs2unuBvb32zvFj2k22zW4fVbjZ9lQ6L2yni81MPbsuW/SnOYrSgoRYum O8D9pRnmbsgr89Oc32ZvKxv3sFrjRuJeQXKnpLsU= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4YpX5B1BwXz6vHF for <53940-done@debbugs.gnu.org>; Thu, 6 Feb 2025 09:35:10 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4YpX5B00qPz6vH2 for <53940-done@debbugs.gnu.org>; Thu, 6 Feb 2025 09:35:09 +0000 (UTC) From: Cayetano Santos To: 53940-done@debbugs.gnu.org Subject: Wrong gcc path ? User-Agent: mu4e 1.12.8; emacs 29.4 Date: Thu, 06 Feb 2025 10:35:08 +0100 Message-ID: <87ed0be7qr.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53940-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Too old, doesn=E2=80=99t apply anymore. =2D- Cayetano Santos . gpg: CCB8 1842 F9D7 058E CD67 377A BF5C DF4D F6BF 6682 key: meta.sr.ht/~csantosb.pgp --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ6SCTBccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgp8VAQDcM3D2R4tV5C5M55MewrjNMKbP rn7q5sHidqZFBgSAXAD/VCHEgcagBxkcDIFFJlRvt8h1xj4etN3NVMKhSZhF6AI= =L6jX -----END PGP SIGNATURE----- --=-=-=-- ------------=_1738834561-26796-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Feb 2022 14:20:07 +0000 Received: from localhost ([127.0.0.1]:58626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIWmN-0006pO-DA for submit@debbugs.gnu.org; Fri, 11 Feb 2022 09:20:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:39440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIWmL-0006pG-IN for submit@debbugs.gnu.org; Fri, 11 Feb 2022 09:20:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIWmL-00017A-7U for bug-guix@gnu.org; Fri, 11 Feb 2022 09:20:05 -0500 Received: from latitanza.investici.org ([82.94.249.234]:30853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIWmI-0003Gz-HH for bug-guix@gnu.org; Fri, 11 Feb 2022 09:20:04 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4JwG3B5kZlzGpTK for ; Fri, 11 Feb 2022 14:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1644589190; bh=iWZmnMCXeLoBgl8+Aiv4Gs8xTcPZlcN0QXQvxaqJNss=; h=From:To:Subject:Date:Reply-To:From; b=X36gp2kf6Wh76vW1RocSxFBPED806vLvqlReEAIf8CWKbCbTICzLgvPeed12wcPk/ ZcGo9DD5FZPbU6xPewEErAzw8sxdJ06xJgRG1j3ldNcZEeUpCRMZ2SzH5IW4470+tJ XoXTJQ2iDzRBD6awX0WH5ICmFKUr9dJB7sk38XTA= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4JwG3B503bzGpTJ for ; Fri, 11 Feb 2022 14:19:50 +0000 (UTC) User-agent: mu4e 1.6.10; emacs 28.0.91 From: Cayetano Santos To: bug-guix@gnu.org Subject: Wrong gcc path ? Date: Fri, 11 Feb 2022 15:15:50 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=82.94.249.234; envelope-from=cayetano.santos@inventati.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cayetano.santos@inventati.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello Guix, I'm building a container with 'guix shell --container', and including gcc-toolchain. Under /gnu/store I get gcc 11.2 as well as gcc 10.3, both with -lib directories. Problem is I get an error about GLIBCXX_3.4.29 missing. My software compiles (and finds) the wrong gcc 10.3 lib, and not the correct 11.2. How can I set the correct gcc libs ? I have located the folder, but the random hash makes it unusable. I mean, setting LD_LIBRARY_PATH solves the problem, but, how to guess the right one ? To reproduce the problem, I have created an example repository here: https://gitlab.in2p3.fr/csantos/examples/guix-issue Is that related to guix ? Thanks, Cayetano Santos ------------=_1738834561-26796-1--