Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2014 22:09:25 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Ian Lepore <ian@FreeBSD.org>, Warren Block <wblock@wonkity.com>
Cc:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Re: Trying to upgrade from 9.3-Stable to 10.1-Stable
Message-ID:  <547F7C05.10404@digiware.nl>
In-Reply-To: <1417620100.1064.72.camel@revolution.hippie.lan>
References:  <547EFE22.6050801@digiware.nl>	 <alpine.BSF.2.11.1412030817150.84718@wonkity.com> <1417620100.1064.72.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3-12-2014 16:21, Ian Lepore wrote:
> On Wed, 2014-12-03 at 08:18 -0700, Warren Block wrote:
>> On Wed, 3 Dec 2014, Willem Jan Withagen wrote:
>>
>>> Trying to compile world for upgrading I run into:
>>> (single threaded make)
>>>
>>> ===> lib/clang/libclanganalysis (depend)
>>> clang-tblgen -gen-clang-attr-list  -I
>>> /usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include
>>> -d AttrList.inc.d -o AttrList.inc.h
>>> /usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include/clang/Basic/Attr.td
>>> clang-tblgen -gen-clang-attr-classes  -I
>>> /usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include
>>> -d Attrs.inc.d -o Attrs.inc.h
>>> /usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include/clang/Basic/Attr.td
>>> Stack dump:
>>> 0.      Program arguments: clang-tblgen -gen-clang-attr-classes -I
>>> /usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include
>>> -d Attrs.inc.d -o Attrs.inc.h
>>> /usr/src10/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/include/clang/Basic/Attr.td
>>> *** Signal 11
>>>
>>> Is this because the 9.3 toolchain doesn't like 10.1...??
>>>
>>> Upgrade is on a atom running:
>>> 9.3-STABLE FreeBSD 9.3-STABLE #56 r269952: Thu Aug 14 07:00:37 CEST 2014
>>
>> 'make toolchain' can help before trying a buildworld for a different 
>> major version.
> 
> toolchain is one of the early steps run during buildworld, invoking it
> separately shouldn't make any difference.
> 
> This looks like it ran out of memory... check syslog or dmesg, see if
> you have some "process killed; out of swap space" messages.  Building
> clang needs a ton of memory.

This is what dmesg says:
pid 251 (clang-tblgen), uid 0: exited on signal 11 (core dumped)
pid 252 (clang-tblgen), uid 0: exited on signal 11 (core dumped)
pid 253 (clang-tblgen), uid 0: exited on signal 11 (core dumped)
pid 25518 (clang-tblgen), uid 0: exited on signal 11 (core dumped)

System has 4Gb of mem.
No complaints about out of swap. There is 4Gb of swap reserved.

Perhaps I should go the royal way, and go for 10.0 as intermediate step?

--WjW





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547F7C05.10404>