RELENG_10 to RELENG11 buildworld no possible ?

Warner Losh imp at bsdimp.com
Tue Jul 9 06:08:53 UTC 2019


On Mon, Jul 8, 2019 at 11:58 PM Dimitry Andric <dim at freebsd.org> wrote:

> On 8 Jul 2019, at 17:38, Warner Losh <imp at bsdimp.com> wrote:
> >
> > On Mon, Jul 8, 2019 at 7:21 AM Mike Tancsa <mike at sentex.net> wrote:
> >> On 7/8/2019 3:09 AM, Patrick M. Hausen wrote:
> >>> Hi all,
> >>>
> >>>> Am 08.07.2019 um 08:30 schrieb Thomas Mueller <mueller6722 at twc.com>:
> >>>> Or maybe via 11.2R, if that can be built from RELENG_10?
> >>> I just completed a successful build of RELENG_11_2 on a
> >>> RELENG_10_4 system …
> >>>
> >>> Kind regards,
> >>> Patrick
> >>
> >> I am guessing all is good up until
> >>
> >>
> >>
> https://lists.freebsd.org/pipermail/svn-src-stable-11/2019-April/009220.html
> >>
> >> If I svn update -r346291(commit before the import of the new clang) all
> >> builds fine.
> >>
> >> Not sure if its worth a note in UPDATING, or mentioning it here in the
> >> google archives will be good enough for anyone else who runs into it.
> >>
> >
> > I think it is worth a note. I'll add one.
> >
> > We should also followup with dim@ to see why static_assert from
> RELENG_10
> > is incompatible with the new compiler, and why it's used in a way that
> > would break.
>
> I took a quick look, but I don't think there is any quick solution.  For
> some reason, clang 3.4.1 (which shipped with 10.4) cannot handle the
> static_asserts which are inside the piece of code in question.  Also,
> there are several other compilation errors, due to it being unable or
> unwilling to cast pointers.
>
> Upstream LLVM has recently bumped the requirements for building quite
> aggressively, it could very well be that a higher version of clang or
> gcc is now required to build 8.0, precisely because of the above.  At
> some point they apparently wanted to drop the workarounds for old
> compilers.
>

Could you look into what the new requirement is? If there's no simple
workaround, I'd like to at least document what the minimum is better than I
have.

Warner


More information about the freebsd-stable mailing list