Page MenuHomeFreeBSD

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

Authored by jhb on Wed, Jan 8, 5:06 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb created this revision.Wed, Jan 8, 5:06 PM
This revision is now accepted and ready to land.Wed, Jan 8, 5:08 PM
emaste added a comment.Wed, Jan 8, 5:09 PM

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

emaste added inline comments.Wed, Jan 8, 5:10 PM
share/mk/src.opts.mk
298–299 ↗(On Diff #66501)

I think this can wrap to one line now.

jhb updated this revision to Diff 66503.Wed, Jan 8, 5:15 PM
  • Update arch(7).
This revision now requires review to proceed.Wed, Jan 8, 5:15 PM
emaste accepted this revision.Wed, Jan 8, 5:17 PM
This revision is now accepted and ready to land.Wed, Jan 8, 5:17 PM
mhorne accepted this revision.Wed, Jan 8, 5:20 PM
jhb marked an inline comment as done.Wed, Jan 8, 5:25 PM
This revision was automatically updated to reflect the committed changes.