Date: Mon, 08 Sep 2014 17:48:59 +0200 From: Leslie Jensen <leslie@eskk.nu> To: Brooks Davis <brooks@freebsd.org>, Leslie Jensen <jensen.leslie@gmail.com> Cc: Dimitry Andric <dim@FreeBSD.org>, freebsd-ports@freebsd.org Subject: Re: Updating ports that require cclang33 almost comes to a standstill! Message-ID: <540DCFEB.5030902@eskk.nu> In-Reply-To: <20140717141025.GA74150@spindle.one-eyed-alien.net> References: <53C64409.4010704@eskk.nu> <5D3F3EEF-F3EF-4B5B-9390-2262D29CEE65@FreeBSD.org> <53C7C771.50107@eskk.nu> <20140717141025.GA74150@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis skrev 2014-07-17 16:10: > On Thu, Jul 17, 2014 at 02:54:09PM +0200, Leslie Jensen wrote: >> Dimitry Andric skrev 2014-07-17 00:10: >>> On 16 Jul 2014, at 11:21, Leslie Jensen <jensen.leslie@gmail.com> wrote: >>>> Hello list. >>>> >>>> I'm experiencing a very slow build of clang33 >>>> >>>> It seems that it's when building clang33/work/llvm-3.3 that is slows down. >>>> >>>> Using top I can see that my system is almost idle, 99,4, and cc1plus has two processes using WCPU at 1,80% and 0.10% >>> cc1plus is actually gcc's C++ compiler, so clang isn't to blame here. :) >>> Isn't there anything else going on, like linking (look for any 'ld' >>> processes)? Or is the machine short on RAM (look at swap usage in top)? >>> >>> -Dimitry >>> >> When the machine is idle these are the values. >> >> >> Mem: 27M Active, 236M Inact, 173M Wired, 10M Cache, 58M Buf, 21M Free >> >> >> Swap: 971M Total, 53M Used, 918M Free, 5% Inuse > I suspect you need more swap. I'd recommend installing clang33 as a > binary package. > > -- Brooks I'm still struggling with this update! I've added memory upp to 1 Gb. Swap is also 1 Gb. The error I get now does not point to shortage of memory or swap space I think. gmake[2]: Entering directory `/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/Tooling' llvm[2]: Compiling CommentHandlerTest.cpp for Release build llvm[2]: Compiling CompilationDatabaseTest.cpp for Release build llvm[2]: Compiling RecursiveASTVisitorTest.cpp for Release build c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. rm: /usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/Tooling/Release/RecursiveASTVisitorTest.d.tmp: No such file or directory gmake[2]: *** [/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/Tooling/Release/RecursiveASTVisitorTest.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/Tooling' gmake[1]: *** [Tooling/.makeall] Error 2 gmake[1]: *** Waiting for unfinished jobs.... llvm[2]: Linking Release unit test ASTMatchers (without symbols) llvm[2]: ======= Finished Linking Release Unit test ASTMatchers (without symbols) gmake[2]: Leaving directory `/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/ASTMatchers' gmake[1]: Leaving directory `/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests' gmake: *** [all] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/lang/clang33. *** [build] Error code 1 Stop in /usr/ports/lang/clang33. ===>>> make build failed for lang/clang33 /Leslie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540DCFEB.5030902>