From owner-freebsd-ports@FreeBSD.ORG Sun Apr 20 15:47:28 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 D0215D41; Sun, 20 Apr 2014 15:47:28 +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 6007719D2; Sun, 20 Apr 2014 15:47:28 +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 <1Wbtxm-0020AT-CR>; Sun, 20 Apr 2014 17:47:26 +0200 Received: from g229123033.adsl.alicedsl.de ([92.229.123.33] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1Wbtxm-001ynQ-73>; Sun, 20 Apr 2014 17:47:26 +0200 Date: Sun, 20 Apr 2014 17:47:25 +0200 From: "O. Hartmann" To: Dimitry Andric Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 Message-ID: <20140420174725.199ec7af.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_/mmaMNWPqkN3_XvaxYh3a_=v"; protocol="application/pgp-signature" X-Originating-IP: 92.229.123.33 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: Sun, 20 Apr 2014 15:47:28 -0000 --Sig_/mmaMNWPqkN3_XvaxYh3a_=v 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 I successfully built, as a workaround, the port x11/kdelibs4 with gcc 4.7 (= port lang/gcc). The box in question is a Dell Latitude E6510 notebook with only 4 GB of RAM= , could this be the issue? The system very often starts swapping. Even my oldstyle E8400= workstation with only 8 GB (most recent 11.0-CURRENT) starts swapping very often and re= cently, I saw musterious compiler erros and stopping compiling processes never seen bevor= . Restarting the failed portbuild most often finish successfully. FreeBSD 9.2-STABLE #0 r264688: Sun Apr 20 10:51:40 CEST 2014 root@munin:/usr/obj/usr/src/sys/MUNIN amd64 FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 CPU: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz (2394.19-MHz K8-class = CPU) Origin =3D "GenuineIntel" Id =3D 0x20652 Family =3D 0x6 Model =3D 0x25= Stepping =3D 2 Features=3D0xbfebfbff Features2=3D0x298e3ff AMD Features=3D0x28100800 AMD Features2=3D0x1 TSC: P-state invariant, performance statistics real memory =3D 4294967296 (4096 MB) avail memory =3D 4021952512 (3835 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 5 ACPI Warning: 32/64X FACS address mismatch in FADT - 0xCF76BF40/0x00000000C= F76ED40, using 32 (20110527/tbfadt-514) ioapic0 irqs 0-23 on motherboard --Sig_/mmaMNWPqkN3_XvaxYh3a_=v Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTU+wNAAoJEOgBcD7A/5N82NIIAJfAv8zZp1lPfvQkz0HnPnOj AhNGn8lY5PjE9EalTbptOvZw+K9/c6lMP9vZsbVtOdePGa9iPPr3QUO/QNiPPL0n HxcBdfpnuZdwlFn82Y718/QDpf+eOKc9+WHHwuyzYau438UCAXcYyuvEtnXgW5jc Fudv5bDgFrPGeQkhOXMsmBx6Ke39YNPQslud54X3WLcf6syOC1aAhfw/nAgPS5T1 guwc9D19CnY9aeyn5qtqicOpcLMhMWyX8SjS6AsFCmnuNyNTka1d8oKfmPGvnyn2 4HQSq7BkluMgkjMS+sOY5voKvAAiW1gErKYXxaEM/4Vs2zJ4Rj1Ua3mDUmo9bXo= =Xn/f -----END PGP SIGNATURE----- --Sig_/mmaMNWPqkN3_XvaxYh3a_=v--