From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id rBVKJIu65GBHugAAgWs5BA (envelope-from ) for ; Tue, 06 Jul 2021 22:18:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oH5sH4u65GByJQAAB5/wlQ (envelope-from ) for ; Tue, 06 Jul 2021 20:18:19 +0000 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 D230414317 for ; Tue, 6 Jul 2021 22:18:18 +0200 (CEST) Received: from localhost ([::1]:32982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0rWL-0003AN-P8 for larch@yhetil.org; Tue, 06 Jul 2021 16:18:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0rW6-0003A8-1x for bug-guix@gnu.org; Tue, 06 Jul 2021 16:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0rW5-0000Xn-PY for bug-guix@gnu.org; Tue, 06 Jul 2021 16:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0rW5-000846-Nm for bug-guix@gnu.org; Tue, 06 Jul 2021 16:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#39400: Go retains a reference to GCC Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Jul 2021 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39400 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Tobias Geerinckx-Rice , 39400@debbugs.gnu.org Received: via spool by 39400-submit@debbugs.gnu.org id=B39400.162560264230953 (code B ref 39400); Tue, 06 Jul 2021 20:18:01 +0000 Received: (at 39400) by debbugs.gnu.org; 6 Jul 2021 20:17:22 +0000 Received: from localhost ([127.0.0.1]:50305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0rVS-00083B-0Y for submit@debbugs.gnu.org; Tue, 06 Jul 2021 16:17:22 -0400 Received: from out1.migadu.com ([91.121.223.63]:34305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0rVP-000830-Ra for 39400@debbugs.gnu.org; Tue, 06 Jul 2021 16:17:21 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1625602637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AozZCJTq1G1NGnTFN/tqe56I5JefHP/L7DtbihOUY4w=; b=Xk4Aso7fuNXj4tlXEwEt1bSPH1EG5ErvABwrrjJsIzGuzuV+Me/GUC5jS7gjvWRt+XkdmF 6YaTDAiOzp5MH2BNTqCEYj7sq48C58HGp2yhS1oVavtUM5GugeLTE6vGMgXDkHqK9BdW8L iS12WPsR51es1yuVyFedgcpac+dI5cU= References: <87v9oo391q.fsf@gnu.org> <86k0m6abn2.fsf@mgsn.dev> Date: Tue, 06 Jul 2021 13:17:15 -0700 In-Reply-To: <86k0m6abn2.fsf@mgsn.dev> (Sarah Morgensen's message of "Sat, 03 Jul 2021 22:30:57 -0700") Message-ID: <86k0m3jiyc.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev 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: Sarah Morgensen From: Sarah Morgensen via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625602699; 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: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=AozZCJTq1G1NGnTFN/tqe56I5JefHP/L7DtbihOUY4w=; b=aKSeKGwdCzaYs2nIyZcRZkZpDnsam+TFduBlNPyb2ZZ4fgSBVKJWqSzpUo1J6MkV7LdiGt BG1U89s9ahyAhxPW/CkDFhtPUZaLg5gKBPXHVr6aE7+oNYvhqGpUdM29RJZtoFHxC23jXF QY3lOVoY7MN0vmc8HJahVMmC+lHMpznn00icpZuAJREgR4mZ0gz2cMSk41X5/KSCm6AMXP f7REn/aYDNXcQnJDEyurKzUFHIKm1j6Qtw+RC2y0YLenK4SwrSTvscwm2d79s2luU8fcSt FMajWk510trBaKqVwbi4xmnfSKyzoHeX27+4w7qridtwHp77GJqkn2herg8MoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625602699; a=rsa-sha256; cv=none; b=KYp8HecYZGXih0XWzzUFXGM99UzwUqokwg9SfmmcFFcZbQatO/qrpSyEWkTM+4oFFDgQH4 nxM9/eoXyp3MaLdm3VEJHSOOfZr3WhYtItdmFk0xQm1fIMj9H1Szg9JoeGzwCL916QZkbs pHTXWAaVJu+PNjQCOqmbAkWmDrjcChfzfDEEjyFVzU2e9MQq4tltoQ1/I+zvuetbTnwalE 67Ov4EKtixPmxWYGn8WoUJ0OlYWyKqmcZcIgX0cCeJgcfkeGIRPuSOKhWcXMdHrb0r9FBR JutgVhxplFhZOB+3fK6l2mBnbuOOliSEtzT++/3LR29YWfJdD4O7/Ov1dlUepg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=Xk4Aso7f; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=Xk4Aso7f; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D230414317 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: mAMEiY5M5OfH Hello, A quick addendum... Sarah Morgensen writes: > This means that even if the user provides a different CC, the > gcc-7.5.0-lib dir will also be in the runpath. I do not know if, or how > much, this would conflict with other gcc-lib runpaths. > I have just seen the consequences of this: the binary is unable to load symbols from the newer library. More info at . > I have experimented with a couple ways of removing the gcc-7.5.0 reference: > > 1. Simply set CC=gcc. This works to remove gcc-7.5.0 from references, > but we still get a gcc-7.5.0-lib runpath. We can't remove this runpath > completely, as anything using cgo-enabled parts of the standard library > require it, and Go does not save the library location anywhere. > -- Sarah