From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6ARgK95xBmKafQAAgWs5BA (envelope-from ) for ; Fri, 11 Feb 2022 15:25:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yNiVKN5xBmJGtQAA9RJhRA (envelope-from ) for ; Fri, 11 Feb 2022 15:25:34 +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 506F224B4A for ; Fri, 11 Feb 2022 15:25:34 +0100 (CET) Received: from localhost ([::1]:39492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIWrd-0007UE-Db for larch@yhetil.org; Fri, 11 Feb 2022 09:25:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIWnG-0002rU-Aa for bug-guix@gnu.org; Fri, 11 Feb 2022 09:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIWnF-0003oV-WB for bug-guix@gnu.org; Fri, 11 Feb 2022 09:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIWnF-0006qn-NL for bug-guix@gnu.org; Fri, 11 Feb 2022 09:21:01 -0500 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 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 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-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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: cayetano.santos@inventati.org X-ACL-Warn: , Cayetano Santos From: Cayetano Santos via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644589534; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=iWZmnMCXeLoBgl8+Aiv4Gs8xTcPZlcN0QXQvxaqJNss=; b=a3VJEsj6ZZqD+kC2J9oHin9POuRV32rU/F5rIVqOZsCTTNp1qyk+6rpwSWp4Rc/hb080oP I0DN8tBVW33e5XmVK11iFYGQPe0TldspbzUiBKatXMUUJ1piYeXp+3p4cuPedVE+cdNjGZ D4I8yxGHuuEiyDivYljWdJz2Je1Jha/iAgBsOK2lmYc9rihu6306UoFF1135Zhp+xjEiHO eeAnEnksmWdLUJQdtMcyqTFunSW5qVrhsOkBybNYq0VqB9WMCmjA0lpBT6BZV4TZ+9twWW zwgFouX1H1fwNodnrsQYz8rDG0Kcd6Lk05v1UMnt3QaqzduMDu6A6PuamaZ2mA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644589534; a=rsa-sha256; cv=none; b=Sdalvg1bZjOxgQFBkjNNUTLUYZpcfVsjFELwZdg4HqyaQNYFFYwI+YFF9CzvYNQn8iVXlG bptQT1u2BMSz1jryI0ASakwpdbmsGOcGuhHbAyGsb50518nRAwsJdSNEbbDZcf9VkdxEJn FfrLEw8q+6Y3tnHTWFXXv44Qk1IPyjMCyK8DYxzf97gccIfbAKh9ldJOhLRZ1YOjvVNvDR chnxZNdJzL2p6AaSAIwjW3+RSbDuWQqEBW10T1TNJkONHeVnYVHhAj9IQm5j9rN9z60qIF rAXeFtms90D2LmFCLgby3vtzSR5SPuOdhujGMc0r0Px3I8VrD9Kx78O2wiBlMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=X36gp2kf; 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: -3.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=X36gp2kf; 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-Queue-Id: 506F224B4A X-Spam-Score: -3.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: Fd3P5GOohZMe 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