Page MenuHomeFreeBSD

Add CLANG/LLD/LLD to BROKEN_OPTIONS when building on non-FreeBSD
ClosedPublic

Authored by arichardson on Feb 7 2018, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 10 2024, 8:43 PM
Unknown Object (File)
Jan 10 2024, 8:43 PM
Unknown Object (File)
Dec 27 2023, 1:43 AM
Unknown Object (File)
Dec 20 2023, 2:19 AM
Unknown Object (File)
Dec 18 2023, 8:12 AM
Unknown Object (File)
Dec 10 2023, 6:43 PM
Unknown Object (File)
Dec 9 2023, 7:19 PM
Unknown Object (File)
Nov 23 2023, 3:56 PM
Subscribers
None

Details

Summary

These tools require a bootstrap llvm-tblgen/clang-tblgen and that cannot
be built with the current make infrastructure: the config header is not
correct for Linux/macOS and we don't include the CMakeLists.txt in contrib
so we can't generate one that would be correct.

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.Feb 27 2019, 2:48 AM

No longer accurate, I have changes to allow bootstrapping localedef and CDDL code.

Now only clang+lld+lldb are broken

arichardson retitled this revision from crossbuild: disable MK_* options that won't work on non-FreeBSD systems to Add CLANG/LLD/LLD to BROKEN_OPTIONS when building on non-FreeBSD.Aug 7 2020, 11:00 AM
arichardson edited the summary of this revision. (Show Details)
arichardson added a reviewer: dim.
arichardson edited the summary of this revision. (Show Details)

fix typo in comment

No comment on the list of options, but the method being used is proper.

This revision is now accepted and ready to land.Aug 7 2020, 8:11 PM

Unfortunately generating the config headers requires CMake, so getting that bootstrapped is rather tricky. In that case people would be better off using the upstream sources directly, and installing all prerequisites in some other way.

That said, better to error out on this earlier than later. :)

share/mk/src.opts.mk
372 ↗(On Diff #75549)

s/boostrap/bootstrap/