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
Unknown Object (File)
Tue, Jan 13, 5:28 AM
Unknown Object (File)
Tue, Dec 30, 5:42 AM
Unknown Object (File)
Dec 11 2025, 7:52 AM
Unknown Object (File)
Nov 29 2025, 9:36 PM
Unknown Object (File)
Nov 27 2025, 1:46 AM
Unknown Object (File)
Nov 26 2025, 7:02 AM
Unknown Object (File)
Nov 25 2025, 9:13 PM
Unknown Object (File)
Nov 14 2025, 5:13 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28551
Build 26602: arc lint + arc unit

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

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.