Date: Mon, 8 Sep 2014 20:37:07 +0000 From: Brooks Davis <brooks@freebsd.org> To: 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: <20140908203707.GE35236@spindle.one-eyed-alien.net> In-Reply-To: <540DCFEB.5030902@eskk.nu> References: <53C64409.4010704@eskk.nu> <5D3F3EEF-F3EF-4B5B-9390-2262D29CEE65@FreeBSD.org> <53C7C771.50107@eskk.nu> <20140717141025.GA74150@spindle.one-eyed-alien.net> <540DCFEB.5030902@eskk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
--DiL7RhKs8rK9YGuF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 08, 2014 at 05:48:59PM +0200, Leslie Jensen wrote: >=20 > 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> wro= te: > >>>> 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 to= p)? > >>> > >>> -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 >=20 > I'm still struggling with this update! I've added memory upp to 1 Gb.=20 > Swap is also 1 Gb. >=20 > The error I get now does not point to shortage of memory or swap space I= =20 > think. >=20 >=20 > gmake[2]: Entering directory=20 > `/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:=20 > /usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/Tooling/R= elease/RecursiveASTVisitorTest.d.tmp:=20 > No such file or directory > gmake[2]: ***=20 > [/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/Tooling/= Release/RecursiveASTVisitorTest.o]=20 > Error 1 > gmake[2]: Leaving directory=20 > `/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]: =3D=3D=3D=3D=3D=3D=3D Finished Linking Release Unit test ASTMatc= hers (without=20 > symbols) > gmake[2]: Leaving directory=20 > `/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests/ASTMatch= ers' > gmake[1]: Leaving directory=20 > `/usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/unittests' > gmake: *** [all] Error 1 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** [do-build] Error code 1 >=20 > Stop in /usr/ports/lang/clang33. > *** [build] Error code 1 >=20 > Stop in /usr/ports/lang/clang33. Please try setting MAKE_JOBS_UNSAFE=3Dyes. Also make sure to check dmesg to see if a reason for the processing being killed. -- Brooks --DiL7RhKs8rK9YGuF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQOE3IACgkQXY6L6fI4GtR0bACguJlCRCf38w762hRwR3bQL1ah CZsAoLzya3iQJvxE0NVn+WoHBJvl+Csu =ZhoX -----END PGP SIGNATURE----- --DiL7RhKs8rK9YGuF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140908203707.GE35236>