svn commit: r50432 - head/en_US.ISO8859-1/htdocs/news/status

Benjamin Kaduk bjk at FreeBSD.org
Sun Jul 2 18:58:47 UTC 2017


Author: bjk
Date: Sun Jul  2 18:58:46 2017
New Revision: 50432
URL: https://svnweb.freebsd.org/changeset/doc/50432

Log:
  Add 2017Q2 LLD entry from emaste

Modified:
  head/en_US.ISO8859-1/htdocs/news/status/report-2017-04-2017-06.xml

Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2017-04-2017-06.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/news/status/report-2017-04-2017-06.xml	Sun Jul  2 18:25:17 2017	(r50431)
+++ head/en_US.ISO8859-1/htdocs/news/status/report-2017-04-2017-06.xml	Sun Jul  2 18:58:46 2017	(r50432)
@@ -363,4 +363,76 @@
 
     <sponsor>The &os; Foundation</sponsor>
   </project>
+
+  <project cat='bin'>
+    <title>Using LLVM's LLD Linker as &os;'s System Linker</title>
+
+    <contact>
+      <person>
+	<name>
+	  <given>Rafael</given>
+	  <common>Espíndola</common>
+	</name>
+	<email>rafael.espindola at gmail.com</email>
+      </person>
+
+      <person>
+	<name>
+	  <given>Ed</given>
+	  <common>Maste</common>
+	</name>
+	<email>emaste at FreeBSD.org</email>
+      </person>
+    </contact>
+
+    <links>
+      <url href="https://wiki.FreeBSD.org/LLD">&os; <tt>lld</tt> Wiki Page</url>
+      <url href="http://llvm.org/pr23214">&os;/LLD Tracking PR (LLVM Bugzilla)</url>
+      <url href="https://bugs.FreeBSD.org/214864"> Exp-Run Request Using <tt>lld</tt> as <tt>/usr/bin/ld</tt></url>
+    </links>
+
+    <body>
+      <p>LLD is the linker in the LLVM family of projects.  It is a
+	high-performance linker that supports the ELF, COFF and
+	Mach-O object formats.  It is broadly compatible with the
+	common linkers used for each file format.  For ELF this is
+	the GNU Binary File Descriptor (BFD) <tt>ld</tt> and GNU
+	<tt>gold</tt>.  However, LLD's authors are not constrained
+	by strict compatibility where it would hamper performance or
+	desired functionality.</p>
+
+      <p>LLD is now used as the default system linker for
+	&os;/arm64 and can link a working kernel, modules, and
+	userland for &os;/amd64.  LLD can also link a working
+	kernel and modules (but not userland) for &os;/arm and
+	&os;/i386.</p>
+
+      <p>Work is ongoing to address ports that do not build with LLD
+	as the system linker (either by fixing the port, or
+	configuring the port to be linked by GNU <tt>ld</tt>).</p>
+
+      <p>For &os; 12.0 we expect to use LLD as the system linker for
+	the same set of architectures that use Clang by default:
+	32- and 64-bit arm and x86.</p>
+    </body>
+
+    <sponsor>The &os; Foundation</sponsor>
+
+    <help>
+      <task>Fix <tt>libtool</tt> to detect LLD and pass the same
+	command line arguments as for GNU <tt>ld</tt> and
+	<tt>gold</tt>.</task>
+
+      <task>Investigate remaining amd64 and arm64 port
+	build failures.</task>
+
+      <task>Investigate and improve LLD on i386 and arm, before
+	the creation of the stable/12 branch.</task>
+
+      <task>Investigate and improve LLD on all other
+	architectures.</task>
+
+      <task>Extensive testing.</task>
+    </help>
+  </project>
 </report>


More information about the svn-doc-all mailing list