From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: bug#30395: =?UTF-8?Q?=E2=80=98gcc=E2=80=99?= doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib" Date: Thu, 08 Feb 2018 18:20:59 +0100 Message-ID: <87vaf72y9w.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]:50186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejptb-0002q3-PW for bug-guix@gnu.org; Thu, 08 Feb 2018 12:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejptb-0006WV-0u for bug-guix@gnu.org; Thu, 08 Feb 2018 12:22:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejpta-0006WO-Tf for bug-guix@gnu.org; Thu, 08 Feb 2018 12:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ejpta-00017E-NK for bug-guix@gnu.org; Thu, 08 Feb 2018 12:22:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejpsf-0001ws-4G for bug-guix@gnu.org; Thu, 08 Feb 2018 12:21:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejpse-0005rD-Bq for bug-guix@gnu.org; Thu, 08 Feb 2018 12:21:05 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejpse-0005r7-7v for bug-guix@gnu.org; Thu, 08 Feb 2018 12:21:04 -0500 Received: from [2a01:e35:2ec2:e580:7d5f:f616:fc6f:3970] (port=52782 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ejpsd-0005MD-Gk for bug-guix@gnu.org; Thu, 08 Feb 2018 12:21:04 -0500 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: 30395@debbugs.gnu.org Hello, I have been facing a weird issue where some shitty build tool I was using has tried to run =E2=80=98cmake=E2=80=99 after setting LD_LIBRARY_PAT= H. The result was a non terminating call to =E2=80=98collect2=E2=80=99. Here is a way to reproduce the issue: $ guix environment --pure --ad-hoc gcc-toolchain $ echo "int main() { return 0; }" > foo.c $ LD_LIBRARY_PATH=3D"$HOME/.guix-profile/lib" gcc foo.c When adding =E2=80=98binutils=E2=80=99 to the environment, the problem diss= apears since =E2=80=98ld-wrapper=E2=80=99 is not used anymore. Thanks. --=20 Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37