Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2014 19:07:11 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Warren Block <wblock@wonkity.com>, "stable@freebsd.org" <stable@freebsd.org>, Ian Lepore <ian@FreeBSD.org>
Subject:   Re: Trying to upgrade from 9.3-Stable to 10.1-Stable
Message-ID:  <5480A2CF.9060504@digiware.nl>
In-Reply-To: <67830F8F-569C-4F0F-B61A-BC30AF626088@FreeBSD.org>
References:  <547EFE22.6050801@digiware.nl> <alpine.BSF.2.11.1412030817150.84718@wonkity.com> <1417620100.1064.72.camel@revolution.hippie.lan> <547F7C05.10404@digiware.nl> <67830F8F-569C-4F0F-B61A-BC30AF626088@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-12-04 16:56, Dimitry Andric wrote:
> On 03 Dec 2014, at 22:09, Willem Jan Withagen <wjw@digiware.nl> wrote:
>>
>> On 3-12-2014 16:21, Ian Lepore wrote:
> ...
>>> 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)
>
> For some reason, the clang-tblgen binaries that were built during the
> bootstrap-tools stage segfault, while running parts of the cross-tools
> stage.  Obviously, this should not happen, but since it only seems to
> happen for you, maybe you have something special in your build
> environment?
>
> Can you please give us a bit more information about your environment,
> such as:
>
> * Architecture (i386, amd64) and exact CPU type of your machine
> * Full contents of /etc/make.conf and /etc/src.conf
> * Environment variables that might influence the build, e.g. CC, CFLAGS,
>    DEBUG_FLAGS, etc
> * The specific make command line you are using to build world, including
>    all flags and arguments

This was pilot error.

To reduce buildtime on this poor atom, I disabled building clang in 
9.x... But did have a very very old version left over from one of the 
first builds. (that took too long)

So I was using those old tools.
Once I disabled that in /etc/src.conf make toolchain builds soothly.

Thanx for helping me realise that.
--WjW




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5480A2CF.9060504>