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)
Sat, Nov 1, 4:34 PM
Unknown Object (File)
Sun, Oct 26, 6:42 AM
Unknown Object (File)
Sun, Oct 26, 6:34 AM
Unknown Object (File)
Sat, Oct 25, 5:20 PM
Unknown Object (File)
Sat, Oct 25, 11:05 AM
Unknown Object (File)
Sat, Oct 25, 8:17 AM
Unknown Object (File)
Fri, Oct 24, 10:07 PM
Unknown Object (File)
Fri, Oct 24, 12:38 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 28549
Build 26601: 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.