From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QKg4IOLnr15bEwAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 10:01:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sAanJO3nr14NbwAAbx9fmQ (envelope-from ) for ; Mon, 04 May 2020 10:01:17 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 7966A9422C0 for ; Mon, 4 May 2020 10:01:15 +0000 (UTC) Received: from localhost ([::1]:49560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVXuU-0006iB-SV for larch@yhetil.org; Mon, 04 May 2020 06:01:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVXuI-0006hK-Ed for bug-guix@gnu.org; Mon, 04 May 2020 06:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVXuI-0007YH-5d for bug-guix@gnu.org; Mon, 04 May 2020 06:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVXuI-0004MW-4M for bug-guix@gnu.org; Mon, 04 May 2020 06:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41038: gcc creates binaries that don't find their shared libraries Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 May 2020 10:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41038 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 41038-submit@debbugs.gnu.org id=B41038.158858640716653 (code B ref 41038); Mon, 04 May 2020 10:01:02 +0000 Received: (at 41038) by debbugs.gnu.org; 4 May 2020 10:00:07 +0000 Received: from localhost ([127.0.0.1]:59013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVXtO-0004KT-Oz for submit@debbugs.gnu.org; Mon, 04 May 2020 06:00:07 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:35397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVXtM-0004J7-TJ for 41038@debbugs.gnu.org; Mon, 04 May 2020 06:00:05 -0400 Received: by mail-qk1-f170.google.com with SMTP id f13so4499159qkh.2 for <41038@debbugs.gnu.org>; Mon, 04 May 2020 03:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=XAgYSAGsmh2Tu2g6l8dIMS7WDuVq8cWz01GcrpBf0V8=; b=iUMeF9fKMHDI3skn7u0wvrFu47kU1nTOaVgovfmbDpCJAXD7NwRVIJawKq0hsUDsBx CsplAZgfuNRFpGyMJL5hvP2oAVQvLo8szbQher61W5/cBhxrsIwC0CG7d5gSEvdsb5bF eSp38VszEhIip/WhpLxoqEuO4pg8SM2DAd4xTTJDRGUXQD7ipHzcizD4dLW/WWfbH6Nu KnOo0lhFD4n0ShBd58L1aADjDkJ1O9CIIEsmIc+jZTWV3Ok0pWGSIiKCDeG8hL3oV/i9 FO/gdyoCbWRMXKIjRhySfSMrQSNQRYi7pR+G56FgHy60JO3aSECpOmWqQVAsLWemWU6D YDuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XAgYSAGsmh2Tu2g6l8dIMS7WDuVq8cWz01GcrpBf0V8=; b=dixmSkFwgI8c5h60WXSIegm6APeHIbRWEuMnEi/gRwsDNQXyBhzQcUHcQJI7WcWGix h6moefthG9NnlhG27mtxklu2msOX6ErfnebtPz73UE5+tkrcHCgDjSUKrOMb+z/yAzZn Vs4ER/wiVE9UpADA4++O9K9vh4tDOlOcyUEDeDHjQTVBJUXZNufd4A9QLwOk4mpQW093 6zHVUSlJ9xqz5Op2W6/BVD0CAfVXIbsRdTsqwC8TWxh31cdp5FvZLluTW1QCr3ek1LoF fx28vQL9qlQW3kk1pWNBdaMNMHhkJGdxtbYqvry8sC9AuuTvVMzXiKTjEucujITl+Day PJ7g== X-Gm-Message-State: AGi0PuaXjMR54EeciNo9bS7fvHAze+FRdughiHnOETwJbrynIV1dPqmn 4W788i0A0LbsxIR+2YgEL9BWspxHL2nOS0psggBatgfJ X-Google-Smtp-Source: APiQypLWmYICoo0QKepTl70EpmLRqrKBa4lc4m5WTymsY8XLDYBz7irlQECFKO1+Tlp7VUsNtBX/OQS7WAJHbJbZ7zU= X-Received: by 2002:ae9:c311:: with SMTP id n17mr12495716qkg.201.1588586399130; Mon, 04 May 2020 02:59:59 -0700 (PDT) MIME-Version: 1.0 References: <1928431.D5bU72YO8c@omega> <87ftcgviax.fsf@gnu.org> <2050118.Ql0zV9tn6O@omega> <87y2q8rqr8.fsf@gnu.org> In-Reply-To: <87y2q8rqr8.fsf@gnu.org> From: zimoun Date: Mon, 4 May 2020 11:59:47 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bruno Haible , 41038@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=iUMeF9fK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49438976723207]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:email]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[41038@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: 5dpzicncFtgW Hi Ludo, On Mon, 4 May 2020 at 11:32, Ludovic Court=C3=A8s wrote: > > Packages needed for C development > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > For C development, you will typically need the packages > > make gcc-toolchain gdb > > > > Do NOT install glibc and binutils explicitly, as they would shadow > > the 'ld' wrapper that is necessary for proper operation of GCC. > > Good idea, I did something along these lines: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D1f14e25c1969a93= 908288cb302a572f3cbbaa478 Compiling Fortran leads to the same issue, if I understand correctly. Is it not the reason of the addition of 'gfortran-toolchain'? And I guess it should be the same issue for the other front-ends that GCC supports (Ada, etc.), isn't it? Well, is it not GCC related and not only C specific? I mean, I seems better to me to remove "@subsection The GCC toolchain" from "Application setup" and then to retitle the subsection "The GCC toolchain" in "Development" instead of "Packages for C Development". Keeping for now how it is worded and letting the GFortran use case as an exercise for the reader. ;-) All the best, simon