Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 00:08:39 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Mike Tancsa <mike@sentex.net>, Thomas Mueller <mueller6722@twc.com>,  FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: RELENG_10 to RELENG11 buildworld no possible ?
Message-ID:  <CANCZdfpZYU%2BZqNXbCCSfsJrPmU-1YHLg7HutWayma0wuQ4V3JQ@mail.gmail.com>
In-Reply-To: <C1695024-FC41-4B01-8363-12FBE2224C8D@FreeBSD.org>
References:  <20b32c01-03a7-a376-a90f-7f5b8296181a@sentex.net> <CANCZdfqmaG38s8NFNk0snK4Ls3d76E9eQYySuT%2B-dzYaC66QRw@mail.gmail.com> <201907080637.x686bkG5071904@mailin1.pluspunkthosting.de> <46BA7C85-0BED-4797-98D7-1FC91E2C9EBE@punkt.de> <8ddc52ed-145e-6704-8e00-543b4ee91bff@sentex.net> <CANCZdfpfL80bpw-hz-fA4Ew1dCXRoL-L6ESOjgWh7MXnLb3D%2BA@mail.gmail.com> <C1695024-FC41-4B01-8363-12FBE2224C8D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 8, 2019 at 11:58 PM Dimitry Andric <dim@freebsd.org> wrote:

> On 8 Jul 2019, at 17:38, Warner Losh <imp@bsdimp.com> wrote:
> >
> > On Mon, Jul 8, 2019 at 7:21 AM Mike Tancsa <mike@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@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 =E2=80=A6
> >>>
> >>> Kind regards,
> >>> Patrick
> >>
> >> I am guessing all is good up until
> >>
> >>
> >>
> https://lists.freebsd.org/pipermail/svn-src-stable-11/2019-April/009220.h=
tml
> >>
> >> If I svn update -r346291(commit before the import of the new clang) al=
l
> >> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpZYU%2BZqNXbCCSfsJrPmU-1YHLg7HutWayma0wuQ4V3JQ>