[Bug 229050] [meta] linker migration tracking PR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 15 17:56:40 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229050

            Bug ID: 229050
           Summary: [meta] linker migration tracking PR
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: emaste at freebsd.org
        Depends on: 214864, 225128

FreeBSD's migration to a full permissively-licensed modern tool chain is in
progress. This PR will track the work necessary to move away from the obsolete
GNU ld.bfd 2.17.50 to lld or external toolchain for all architectures.

LLD status:

** x86 **

amd64: complete, lld is the bootstrap and system linker
A small number of ports issues remain, tracked in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864

i386: proof of concept demonstrated with lld as bootstrap linker but some new
issues have appeared, tracked in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225128

** Arm **

arm64: complete, lld is the bootstrap and system linker

armv7: proof of concept demonstrated, one known issue tracked in
https://bugs.llvm.org/show_bug.cgi?id=36009

armv6 and lower: lld is currently not suitable

** MIPS **

The multi-GOT patch was finally committed upstream in
https://reviews.llvm.org/rL334390. Proof of concept demonstrated using patched
lld as MIPS linker.

** PPC **

LLD currently not functional as bootstrap linker

** sparc64 **

LLD lacks sparc64 support

** RISC-V **

LLD lacks usable RISC-V support


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225128
[Bug 225128] [exp-run] with LLD_BOOTSTRAP on i386
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list