From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30395: =?UTF-8?Q?=E2=80=98gcc=E2=80=99?= doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib" Date: Fri, 16 Feb 2018 14:03:30 +0100 Message-ID: <874lmhozml.fsf@gnu.org> References: <87vaf72y9w.fsf@gnu.org> <87k1vdqm09.fsf@gnu.org> <87mv09gn3i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emfgM-0003tr-1J for bug-guix@gnu.org; Fri, 16 Feb 2018 08:04:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emfgI-0006wx-3E for bug-guix@gnu.org; Fri, 16 Feb 2018 08:04:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emfgH-0006ws-VS for bug-guix@gnu.org; Fri, 16 Feb 2018 08:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emfgH-0000P2-N8 for bug-guix@gnu.org; Fri, 16 Feb 2018 08:04:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mv09gn3i.fsf@gnu.org> (Mathieu Lirzin's message of "Fri, 16 Feb 2018 13:01:21 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mathieu Lirzin Cc: 30395@debbugs.gnu.org Mathieu Lirzin skribis: > GCC is waiting on =E2=80=98collect2=E2=80=99 to finish and =E2=80=98colle= ct2=E2=80=99 according to [1] > tries to find =E2=80=98ld=E2=80=99. When =E2=80=98ld=E2=80=99 is provide= d by Binutils the program > completes but not with =E2=80=98ld-wrapper=E2=80=99 on my machine, so I s= uspect this is > related to =E2=80=98ld-wrapper=E2=80=99, but maybe this is just a symptom= of something > else. Oooh, I see. It could be the =E2=80=98guile=E2=80=99 used by ld-wrapper th= at fails somehow. Do you have =E2=80=98guile=E2=80=99 in ~/.guix-profile? You could run agai= n that gcc command, this time prefixed with =E2=80=9Cstrace -f -o log=E2=80=9D to see = which libguile.so is being used when =E2=80=98ld=E2=80=99 is invoked, and whether= something else is going on, such as auto-compilation or something? Ludo=E2=80=99.