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. -- Ian
Willem Jan Withagen
2014-Dec-03 21:09 UTC
Trying to upgrade from 9.3-Stable to 10.1-Stable
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