Page MenuHomeFreeBSD

Use clang and lld as the default toolchain for RISCV.
ClosedPublic

Authored by jhb on Jan 8 2020, 5:06 PM.
Tags
None
Referenced Files
F162179965: D23089.id66505.diff
Fri, Jul 10, 3:32 PM
Unknown Object (File)
Thu, Jul 9, 8:09 AM
Unknown Object (File)
Thu, Jul 9, 8:09 AM
Unknown Object (File)
Sat, Jul 4, 6:53 AM
Unknown Object (File)
Tue, Jun 30, 4:03 AM
Unknown Object (File)
Mon, Jun 29, 1:47 AM
Unknown Object (File)
Sat, Jun 27, 2:04 PM
Unknown Object (File)
Thu, Jun 25, 12:49 PM
Subscribers

Details

Summary
  • Enable clang and lld as system toolchains.
  • Don't use external GCC for universe by default.
  • Re-enable riscv64sf since it builds fine with clang + lld.
Test Plan
  • have booted a clang + lld world in qemu
  • make tinderbox TARGETS=riscv

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 8 2020, 5:08 PM

LGTM, w/ arch.7 update as discussed on IRC

share/mk/src.opts.mk
298–299 ↗(On Diff #66501)

I think this can wrap to one line now.

This revision now requires review to proceed.Jan 8 2020, 5:15 PM
This revision is now accepted and ready to land.Jan 8 2020, 5:17 PM
jhb marked an inline comment as done.Jan 8 2020, 5:25 PM
This revision was automatically updated to reflect the committed changes.