From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BBB6D138346 for ; Mon, 6 Jan 2020 17:54:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B1E0E0977; Mon, 6 Jan 2020 17:54:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6D40E093E for ; Mon, 6 Jan 2020 17:54:31 +0000 (UTC) Received: from pomiot (c142-245.icpnet.pl [85.221.142.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id BAA8034DDBF; Mon, 6 Jan 2020 17:54:29 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] [PATCH v2 2/4] kernel-build.eclass: Build logic for dist-kernels From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Mon, 06 Jan 2020 18:54:25 +0100 In-Reply-To: References: <20200105062741.82357-1-mgorny@gentoo.org> <20200105062741.82357-2-mgorny@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-YX481tbUv6CKVS2BerhR" User-Agent: Evolution 3.32.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: b3160a42-7b2c-49e7-8efb-d48c24ec4027 X-Archives-Hash: 604cc63e401c35feaa34102f00e49408 --=-YX481tbUv6CKVS2BerhR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2020-01-06 at 12:43 -0500, Mike Gilbert wrote: > On Sun, Jan 5, 2020 at 1:27 AM Micha=C5=82 G=C3=B3rny = wrote: > > +# @FUNCTION: kernel-build_src_configure > > +# @DESCRIPTION: > > +# Prepare the toolchain for building the kernel, get the default .conf= ig > > +# or restore savedconfig, and get build tree configured for modprep. > > +kernel-build_src_configure() { > > + debug-print-function ${FUNCNAME} "${@}" > > + > > + # force ld.bfd if we can find it easily > > + local LD=3D"$(tc-getLD)" > > + if type -P "${LD}.bfd" &>/dev/null; then > > + LD+=3D.bfd > > + fi >=20 > Is there some reason not to use the tc-ld-disable-gold function? >=20 Yes. As the name says, it covers gold usage only and not lld. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-YX481tbUv6CKVS2BerhR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl4TdFFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA4LwwgAjEIxFaSdehzmHn4uVNcPm+/zpJODGdQxSGiHqnBcTXzoqZFK0xkroKCt Obn9HIJ/iQyaoXu+hRv0aVTCeTUAI9ayO1AWOk1b6BvRDBrNudECqn1MsHIRu22x JYLPYvnP72vk/1cmjyhsHIBQwI1CO4l/IY+fB9V9UaegOrIYGN15zdvY3a5YaL77 mh0YhucYqrF51A1SM+QYCc8MW7oFzntTBv8/AphmNglFcMkgv/la8KOOnfUD5fFs XcEgsqZsMN4gh284uX7t2KZ+/NO+CR6KqgwxBV/Nk9/OYKqiP4mFMJif+ZL5lcQ+ B1Bsa4rQe0J4Eam4qie1qPrVCze/ug== =zt0U -----END PGP SIGNATURE----- --=-YX481tbUv6CKVS2BerhR--