From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: gold linker and collect2: fatal error: cannot find 'ld' Date: Sat, 25 May 2019 18:35:37 +0200 Message-ID: <87imtyo5k6.fsf@ambrevar.xyz> References: <20190317160616.cyv5z7lbsrvbajur@thebird.nl> <20190318152849.n3jzwrbyfd7fd3db@thebird.nl> <87lg109r2p.fsf@gnu.org> <87a7g6hakd.fsf@ambrevar.xyz> <87bm03x9is.fsf@ambrevar.xyz> <87o941w5zf.fsf@ambrevar.xyz> <871s0xvtim.fsf@ambrevar.xyz> <87k1elqgu6.fsf@gnu.org> <87y3312jro.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUZng-0002KL-Jv for guix-devel@gnu.org; Sat, 25 May 2019 12:45:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUZe7-0002Sp-OT for guix-devel@gnu.org; Sat, 25 May 2019 12:35:49 -0400 In-Reply-To: <87y3312jro.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alright, this works now. I'm using Pjotr's patch https://gitlab.com/genenetwork/guix/commits/ldc-1.14-20190222/gnu/packages/= dlang.scm to build ldc 1.14, but I hit the opposite issue of what was initially described in this post: =2D It does not seem to build against gold, it seems to use the regular binutils. =2D Tests fail because they can't find 'ld'. The first failing test is: =2D-8<---------------cut here---------------start------------->8--- 1552/1587 Test #1552: druntime-test-aa ...........................= ........................................***Failed 0.49 sec make[1]: Entering directory '/tmp/guix-build-ldc-1.14.0.drv-0/ldc-= 1.14.0/runtime/druntime/test/aa' /tmp/guix-build-ldc-1.14.0.drv-0/build/bin/ldmd2 -w -I../../src = -I../../import -Isrc -defaultlib=3D -debuglib=3D -dip1000 -L/tmp/guix-build= -ldc-1.14.0.drv-0/build/lib/libdruntime-ldc.a -O -release -of/tmp/guix-buil= d-ldc-1.14.0.drv-0/build/runtime/druntime-test-aa/test_aa src/test_aa.d collect2: fatal error: cannot find 'ld' compilation terminated. =2D-8<---------------cut here---------------end--------------->8--- I don't really understand how it can fail to find 'ld' considering it's supposed to be building with binutils. Am I missing something? Pjotr? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlzpbtkACgkQm9z0l6S7 zH89Wgf8C54kcn3j9/nTK4/tTcDgSOEn+INfEIStXNJKiQnkucx2eG0k34g7TiQX gxPvXxCtTSWug3ro4/4WkYh9nzZXZrdRJX6uUmahTwzUh8156wnA842FTe/QoiiL IgRBzjHbTQp13oKGGawivu0wn/lKsgzH5GYeHFqLOzXVS75lVFXfEW82jqUPAQmS cIzLVVnn9RlmnUICPl7a1ZBjrT9qzqV8Cvdqtzh7KQT2+RJD+Tf+tJd0cFNRd5j+ cjpwq6UFyl8m0kttLQ5jT5ud7D3kWowdHnvG2+Mk0g+eOapFj+064X1AiFg03Bxp VkRjBOcXOClAJmRnxcitaCTd+nFbkA== =v7Zo -----END PGP SIGNATURE----- --=-=-=--