From owner-svn-doc-all@freebsd.org Wed Apr 13 16:15:01 2016 Return-Path: Delivered-To: svn-doc-all@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 44052B0FD50; Wed, 13 Apr 2016 16:15:01 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20AE81065; Wed, 13 Apr 2016 16:15:01 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3DGF0nM004118; Wed, 13 Apr 2016 16:15:00 GMT (envelope-from wblock@FreeBSD.org) Received: (from wblock@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3DGF05L004117; Wed, 13 Apr 2016 16:15:00 GMT (envelope-from wblock@FreeBSD.org) Message-Id: <201604131615.u3DGF05L004117@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wblock set sender to wblock@FreeBSD.org using -f From: Warren Block Date: Wed, 13 Apr 2016 16:15:00 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48611 - head/en_US.ISO8859-1/htdocs/news/status X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 16:15:01 -0000 Author: wblock Date: Wed Apr 13 16:15:00 2016 New Revision: 48611 URL: https://svnweb.freebsd.org/changeset/doc/48611 Log: Add the lld linker report from Ed Maste . Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2016-01-2016-03.xml Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2016-01-2016-03.xml ============================================================================== --- head/en_US.ISO8859-1/htdocs/news/status/report-2016-01-2016-03.xml Wed Apr 13 16:06:33 2016 (r48610) +++ head/en_US.ISO8859-1/htdocs/news/status/report-2016-01-2016-03.xml Wed Apr 13 16:15:00 2016 (r48611) @@ -1903,7 +1903,7 @@ community to consider.

Core is also coordinating with the committee headed by Anne - Dickinson who are reviewing the Code of Conduct. A corpus of + Dickison who are reviewing the Code of Conduct. A corpus of case studies is being assembled, which will be re-examined to see what impact changes to the Code of Conduct would have had.

@@ -1925,4 +1925,92 @@ on lld and other parts of the toolchain.

+ + + Using <tt>lld</tt>, the LLVM Linker, to Link + FreeBSD + + + + + Ed + Maste + + emaste@FreeBSD.org + + + + + Davide + Italiano + + davide@FreeBSD.org + + + + + &os; lld wiki page + Status report on linking FreeBSD/amd64 with lld + + + +

lld is the linker in the LLVM family of projects. + It is intended to be a high-performance linker and supports + the ELF, COFF and Mach-O object formats. Where possible, + lld maintains command-line and functional + compatibility with existing linkers (GNU BFD ld and + gold), but lld's authors are not constrained + by strict compatability where it would hamper performance or + desired functionality.

+ +

The upstream lld project made significant progress + in adding new functionality to lld's ELF support over + the first quarter of 2016. The lld ELF linker is + capable of self-hosting on FreeBSD/amd64 and is capable of + linking many test applications.

+ +

lld currently lacks comprehensive linker script + expression evaluation support, and therefore cannot yet be + used to link the FreeBSD kernel. It also lacks versioned + symbol support, and does not implement some options used in + the FreeBSD boot loader components.

+ +

I've been running experimental world builds of FreeBSD/amd64 + with lld installed in place of ld.bfd as the + linker. With workarounds for the current gaps in + functionality (using the WITHOUT_SYMVER option to + disable symbol versioning use, and linking the loader + components with GNU ld), lld is now able to + link a working FreeBSD system.

+ + + The &os; Foundation + + + +

Enable the lld option by default in the llvm-devel + (and later llvm) ports for testing.

+
+ + +

Develop symbol version support and linker script expression + improvements in the upstream lld project.

+
+ + +

Import a newer lld snapshot into the vendor area, add build + infrastructure and connect it to the world build, installed + as ld.lld.

+
+ + +

Request a ports exp-run with /usr/bin/ld a symlink + to ld.lld.

+
+ + +

Extensive testing.

+
+
+