From owner-freebsd-toolchain@freebsd.org Fri Dec 22 14:53:33 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83D6CE9E279; Fri, 22 Dec 2017 14:53:33 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A14179C09; Fri, 22 Dec 2017 14:53:33 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x235.google.com with SMTP id x67so18699757ioi.9; Fri, 22 Dec 2017 06:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=GOOCM5swvDbOP8iHv7f7DlPaiu5Ve300ePF/cpil5/g=; b=uwfRgtgelkbKie6piMYJGWnCRPX4wH/vA3cJJIONrF+0OMO38Bk2i/bszJmOgDjuZ0 Tm969A1AICdL3TUoZ0QhF4G7m+WRHur/0Ncp80QyD4z4ovYFwTCjudPg0iEU3Dcxgi/g IL47kgi+f5ENjFjH37fnnJHcsByCpEtjqsroaSlvMl8X98YYSjz+Z5zvsTYUmmbgTfx5 N/5znyv/H0aU2jHl8hlQrFLICaoICmWM9qTd2LLpqUGzURHu+Gn9MU+TKyh40HK/ubVU qcHIh9KOqqnFO/kfUJeU4WFsG4d4LfTDWNkHxe7lIl/8i+h3Wkc4WpM2XmQ/UJqs4r9f 1YXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=GOOCM5swvDbOP8iHv7f7DlPaiu5Ve300ePF/cpil5/g=; b=JTu/DA5Su8AW8Btu1LSFv6lBlkEYNsY2oRbHWCRI0ezuvuckJgXhWR4ZI1SLtIEjIn ylvYkpQTQaM8C9CVT1G+fCIvKRUNxFhY4LtDr4EbAoON4AxDnYrxoLI6GHIFFHgzj+74 VkVvR/FLqJWemiP67rTSK0KkrnpZ4veTqeC/SKvyMY/iRIB0izQOL4VwHlbEOT03eh0q 52GBzXCmCqdw3EN5lY2IdWuOx0nwKmFdQ0DPKFPW+6WxWXOo8q/eZEJ3u4Jfj/YGaJAo jhs/ktSXJzyQLIvcHpPZTyVuB3DopNlQgJszDGbkWeTOHyXg8qp09uZl+CxRuwNmnhZ4 NZkw== X-Gm-Message-State: AKGB3mJwH1yJOn4k36BwBSngPUaRK3+0iJ875nffvsQ0wudczroJHk9X cALlAektfV8XASoMFDM9fpXlPBYcxdDYBt2e2iooK0A7 X-Google-Smtp-Source: ACJfBotTdC6Vb5/+irNiNXf2QapNE2zOqBe0CMYeEyGUduX3QYjYGCu5wKxifiKhrJ5RPaEuJmnB5peuZTlCU3gikaU= X-Received: by 10.107.142.145 with SMTP id q139mr1101613iod.63.1513954412065; Fri, 22 Dec 2017 06:53:32 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.131.163 with HTTP; Fri, 22 Dec 2017 06:53:11 -0800 (PST) In-Reply-To: References: From: Ed Maste Date: Fri, 22 Dec 2017 09:53:11 -0500 X-Google-Sender-Auth: rbuvf9kX16IH2hqRay2xatMauSs Message-ID: Subject: Re: Ports and LLVM's lld linker To: FreeBSD Ports , freebsd-toolchain@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 14:53:33 -0000 On 18 December 2017 at 22:10, Ed Maste wrote: > > With a couple of recent changes in src head (r326831 and r326897) lld > is now suitable for use as the base system /usr/bin/ld on amd64 and > i386. We're working through ports failures, starting with those > responsible for the largest number of skipped ports. > > The top four, on amd64: > > port # skipped > devel/libunwind 7994 > databases/postgresql*-client 230 These two are now addressed by setting LLD_UNSAFE=yes so that they'll still link with ld.bfd once ld.lld is installed as /usr/bin/ld. The issue with libunwind was already reported upstream (from someone trying to use ld.gold, which fails in the same way), and libunwind's developers will address it in a new version. The postgresql*-client issues need more investigation, but now will not prevent the migration to lld. > lang/fpc 76 This one's a little tricky, because it's a (Pascal) tool chain that doesn't support usual environment variables like LD to specify a linker explicitly. > lang/mono 22 I'll mark this one LLD_UNSAFE after a libtool dependency is sorted out (PR224514). After setting LLD_UNSAFE=yes for libunwind some previously-skipped ports attempt to build, and some of those now fail with lld. I'm working through that list and may have a dozen or so more that will become LLD_UNSAFE.