Building FreeBSD 11.0-stable on FreeBSD 10.1-stable fails

Warner Losh imp at bsdimp.com
Wed Oct 19 15:00:46 UTC 2016


On Sun, Oct 16, 2016 at 12:18 PM, Dimitry Andric <dim at freebsd.org> wrote:
> On 16 Oct 2016, at 17:22, Warner Losh <imp at bsdimp.com> wrote:
>>
>> On Sun, Oct 16, 2016 at 5:34 AM, Dimitry Andric <dim at freebsd.org> wrote:
>>> On 16 Oct 2016, at 12:20, Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no> wrote:
>>>> I am trying to build FreeBSD 11.0-stable on a machine which runs:
>>>> tingo at kg-v7$ uname -a
>>>> FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb  6 21:36:01 CET 2015
>>>> root at kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
>>>>
>>>> I have emptied /usr/src and /usr/obj and fetched the latest stable/11 via subversion:
>>>> tingo at kg-v7$ egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh
>>>> REVISION="11.0"
>>>> BRANCH="STABLE"
>>>>
>>>> But building it (per the procedure in the handbook) fails at the buildworld stage. Both 'make -j5 buildworld' and 'make buildworld' fails, like this:
>>>>
>>>> c++: error: unable to execute command: Segmentation fault (core dumped)
> ...
>>> Please make sure your stable/10 is at least r286033.
>>
>> What's the issue this fixes?
>
> It fixes a possible crash in clang 3.4, which can occur if newer
> versions of llvm are compiled.  Unfortunately this fix only went in
> after 10.3-RELEASE.

I think you're confused. In prepping a patch, it looks like it went in
after 9.3-RELEASE on stable/9, but it went in between 10.2 and 10.3 on
stable/10. So 10.1R and 10.2R are busted, but 10.3R should work. I've
updated UPDATING to reflect this.

Warner


More information about the freebsd-stable mailing list