On Tue, 21 Nov 2017, Aldy Hernandez wrote: > I have no idea how to bootstrap with clang :). Perhaps someone can > throw a hint.
It just works. Usually. :-) I run two testers, one nightly, one weekly, on a FreeBSD.org cluster, one with clang 3.4 the other with clang 4.0 right now, and while both issue tons of warnings -- what you shared looks pretty familiar -- apart from the breakage I now reported it just works. No magic flags or anything. In fact, at one point one machine was upgraded from a GCC 4.x system compiler to clang 3.4 and things just kept working. > ...with numerous problems building stage1, among which are: You can safely ignore those. Just make sure there's no -Werror or similar in your environment. Gerald