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.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20190709/aaeab736/attachment.sig>