From owner-freebsd-ports@FreeBSD.ORG Sat Apr 19 19:02:52 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5EDF19A; Sat, 19 Apr 2014 19:02:52 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CFDC1457; Sat, 19 Apr 2014 19:02:52 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1WbaXK-003G1u-DN>; Sat, 19 Apr 2014 21:02:50 +0200 Received: from g226180135.adsl.alicedsl.de ([92.226.180.135] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1WbaXK-000V1T-8G>; Sat, 19 Apr 2014 21:02:50 +0200 Date: Sat, 19 Apr 2014 21:02:43 +0200 From: "O. Hartmann" To: Dimitry Andric Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 Message-ID: <20140419210243.76f3c9cd.ohartman@zedat.fu-berlin.de> In-Reply-To: References: <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org> <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> <20140419193019.0ee792e6.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/aBY4ZPik2sBy1XmSUk9rQfD"; protocol="application/pgp-signature" X-Originating-IP: 92.226.180.135 X-ZEDAT-Hint: A Cc: freebsd-stable@freebsd.org, FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 19:02:52 -0000 --Sig_/aBY4ZPik2sBy1XmSUk9rQfD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 19 Apr 2014 20:25:51 +0200 Dimitry Andric wrote: > On 19 Apr 2014, at 19:30, O. Hartmann wrote: > > On Sat, 19 Apr 2014 18:44:51 +0200 > > Dimitry Andric wrote: > ... > >>> Stop in /usr/ports/x11/kdelibs4/work/.build. > >>> *** [khtml/CMakeFiles/khtml.dir/all] Error code 1 > >>> > >>=20 > >> I cannot reproduce the problem on my copy of stable/9 r264647. Using = /usr/bin/time > >> -l on it results in: > >>=20 > >> 3.36 real 1.01 user 0.59 sys > >> 71684 maximum resident set size > >> 30951 average shared memory size > >> 3349 average unshared data size > >> 126 average unshared stack size > >> 13539 page reclaims > >> 354 page faults > >> 0 swaps > >> 2 block input operations > >> 3 block output operations > >> 66 messages sent > >> 0 messages received > >> 0 signals received > >> 370 voluntary context switches > >> 10 involuntary context switches > >>=20 > >> So it compiles in 3 seconds, and uses approximately 70MB of memory. > > what compiler does your copy use as default? I use CLANG 3.3/3.4 >=20 > Just the version of clang that comes with stable/9 r264647, e.g.: >=20 > FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 >=20 > Are you using a port version of clang to build kdelibs4, by any chance? >=20 > -Dimitry >=20 In have installed devel/llvm33 and lang/clang33. On this specific 9.2-STABL= E system, I use this setting in /etc/make.conf for clang over gcc 4.2 selection: [...] ## ## CLANG ## .if !defined(NO_CLANG) .if !defined(CC) || ${CC} =3D=3D "cc" CC=3D clang .endif .if !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3D clang++ .endif .if !defined(CPP) || ${CPP} =3D=3D "cpp" CPP=3D clang-cpp .endif ## Don't die on warnings NO_WERROR=3D WERROR=3D ## Don't forget this when using Jails! #NO_FSCHG=3D CFLAGS+=3D -O3 -pipe -fno-strict-aliasing COPTFLAGS+=3D -O3 -pipe .endif [...] As of this moment, I replace llvm33 with llvm34 and clang33 with clang34 (p= orts). How can I asure that system's base compiler is used? Oliver --Sig_/aBY4ZPik2sBy1XmSUk9rQfD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTUshZAAoJEOgBcD7A/5N8nTMH+QG8ni2w+CEjELUI30mno748 kQxdCSrRdp9DqB1c3jHf4iOTdh2RGLPuinLlDMNvjbPjGGBmS6/ilD5yeFGkqKbB K/yQlwxT4Zb+fMp39fKhbl6xaoxon9cJXohfPC4g1fucAb8RM+M02jqolAjq1bO8 v6YIKtm+37bVbJq5EV4qfeUzNqiSVkTj843Gps8FBFQuMp6chlSmN7P9A+ApfJiH quicF7FR3YrEL1ZS+sL327w5x6CraeGq/ZfOTHdHe5BYXj37fPT9m2LS0aSm1nPW wKG1SjTA0lGl5GlwpcjmbCNCtLhYtQhETHW7BmGcq+cgqu7NGEux9n71qLAYFYU= =db2U -----END PGP SIGNATURE----- --Sig_/aBY4ZPik2sBy1XmSUk9rQfD--