From owner-freebsd-ports@FreeBSD.ORG Sat Apr 19 16:45:09 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 DBAA9E9E; Sat, 19 Apr 2014 16:45:09 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6468E1440; Sat, 19 Apr 2014 16:45:09 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::3851:9362:67d4:316d] (unknown [IPv6:2001:7b8:3a7:0:3851:9362:67d4:316d]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1B2B85C43; Sat, 19 Apr 2014 18:45:02 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_E97C5880-F3DD-42F3-9F53-7244E9FAA749"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 From: Dimitry Andric In-Reply-To: <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> Date: Sat, 19 Apr 2014 18:44:51 +0200 Message-Id: References: <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org> <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.1874) 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 16:45:09 -0000 --Apple-Mail=_E97C5880-F3DD-42F3-9F53-7244E9FAA749 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 19 Apr 2014, at 10:32, O. Hartmann = wrote: ... > [ 66%] Building CXX object khtml/CMakeFiles/khtml.dir/css/parser.o > In file included > from = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/css/parser.cpp:106: In = file > included from = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_docimpl.h:30: = In > file included > from = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_elementimpl.h:29= : In file > included from = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_nodeimpl.h:33: = In > file included > from = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/misc/idstring.h:27: = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:52:= 6: > warning: cast from 'char *' to 'QChar *' increases required alignment = from 1 to 2 > [-Wcast-align] s =3D QT_ALLOC_QCHAR_VEC( havestr ? len : 1 ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:35:= 33: > note: expanded from macro 'QT_ALLOC_QCHAR_VEC' #define = QT_ALLOC_QCHAR_VEC( N ) (QChar*) > new char[ sizeof(QChar)*( N ) ] > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:66:= 6: > warning: cast from 'char *' to 'QChar *' increases required alignment = from 1 to 2 > [-Wcast-align] s =3D QT_ALLOC_QCHAR_VEC( 1 ); ^~~~~~~~~~~~~~~~~~~~~~~ > = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:35:= 33: note: > expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_VEC( N = ) (QChar*) new > char[ sizeof(QChar)*( N ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:73:= 6: warning: > cast from 'char *' to 'QChar *' increases required alignment from 1 to = 2 [-Wcast-align] > s =3D QT_ALLOC_QCHAR_VEC( havestr ? length : 1 ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > = /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:35:= 33: note: > expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_VEC( N = ) (QChar*) new > char[ sizeof(QChar)*( N ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > clang++: error: unable to execute command: Terminated: 15 > clang++: error: clang frontend command failed due to signal (use -v to = see invocation) > FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 > Target: x86_64-unknown-freebsd9.2 > Thread model: posix > clang++: note: diagnostic msg: PLEASE submit a bug report to = http://llvm.org/bugs/ and > include the crash backtrace, preprocessed source, and associated run = script. clang++: > note: diagnostic msg: ******************** >=20 > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > Preprocessed source(s) and associated run script(s) are located at: > clang++: note: diagnostic msg: /tmp/parser-b6e15c.cpp > clang++: note: diagnostic msg: /tmp/parser-b6e15c.sh > clang++: note: diagnostic msg:=20 >=20 > ******************** > *** [khtml/CMakeFiles/khtml.dir/css/parser.o] Error code 254 >=20 > Stop in /usr/ports/x11/kdelibs4/work/.build. > *** [khtml/CMakeFiles/khtml.dir/all] Error code 1 > I cannot reproduce the problem on my copy of stable/9 r264647. Using = /usr/bin/time -l on it results in: 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 So it compiles in 3 seconds, and uses approximately 70MB of memory. -Dimitry --Apple-Mail=_E97C5880-F3DD-42F3-9F53-7244E9FAA749 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlNSqBEACgkQsF6jCi4glqNwlgCeLiDNPznM+vJywzmHk5x5LkVf M+sAoKvytnWcZyjaWf/CCrU5CuhbjgFL =9m3f -----END PGP SIGNATURE----- --Apple-Mail=_E97C5880-F3DD-42F3-9F53-7244E9FAA749--