From owner-freebsd-stable@FreeBSD.ORG Sat Apr 19 17:30:28 2014 Return-Path: Delivered-To: freebsd-stable@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 1DD15C16; Sat, 19 Apr 2014 17:30: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 9FD8F1935; Sat, 19 Apr 2014 17:30:27 +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 <1WbZ5t-0031Pp-Fy>; Sat, 19 Apr 2014 19:30:25 +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 <1WbZ5t-000Nw8-BY>; Sat, 19 Apr 2014 19:30:25 +0200 Date: Sat, 19 Apr 2014 19:30:19 +0200 From: "O. Hartmann" To: Dimitry Andric Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 Message-ID: <20140419193019.0ee792e6.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> 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_/RLLfAQpz5Ro8AZ81XM8yPT5"; 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-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 17:30:28 -0000 --Sig_/RLLfAQpz5Ro8AZ81XM8yPT5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 19 Apr 2014 18:44:51 +0200 Dimitry Andric wrote: > 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:1= 06: 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_elementi= mpl.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 f= rom 1 to 2 > > [-Wcast-align] s =3D QT_ALLOC_QCHAR_VEC( havestr ? len : 1 ); > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/kd= elibs-4.12.4/khtml/xml/dom_stringimpl.h:35:33: > > note: expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_V= EC( N ) > > (QChar*) new char[ sizeof(QChar)*( N ) ] > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/k= delibs-4.12.4/khtml/xml/dom_stringimpl.h:66:6: > > warning: cast from 'char *' to 'QChar *' increases required alignment f= rom 1 to 2 > > [-Wcast-align] s =3D QT_ALLOC_QCHAR_VEC( 1 ); > > ^~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/kht= ml/xml/dom_stringimpl.h:35:33: > > note: expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_V= EC( N ) > > (QChar*) new char[ sizeof(QChar)*( N ) ] > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/k= delibs-4.12.4/khtml/xml/dom_stringimpl.h:73:6: > > warning: cast from 'char *' to 'QChar *' increases required alignment f= rom 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_V= EC( 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://llv= m.org/bugs/ and > > include the crash backtrace, preprocessed source, and associated run sc= ript. 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 > > >=20 > I cannot reproduce the problem on my copy of stable/9 r264647. Using /us= r/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. >=20 > -Dimitry >=20 what compiler does your copy use as default? I use CLANG 3.3/3.4 --Sig_/RLLfAQpz5Ro8AZ81XM8yPT5 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTUrKwAAoJEOgBcD7A/5N80FUIAK8IFhSL5JeXNUheiKWIEQg1 DBIhK2oSArcmJ86auCEc3jvy0OG5ltNse+R2rDEe3IZ4Tz7gjGNl7qhmYHDlpXyb a2kqnnMCpI+7Fl2CCqdiHWFZHappcvCGZLFjIFNUI7ujBSYewuWCZWHQ9DVql/0l KMDdkpHNCONiJGRYGBx9JXj9zilkh5O5/tNnu/VxO3Eanlnamjo7+ZhCaEgHT6/6 TRjc6XOhQcW+7RM5kqnceYS6+TXEf87u9DetVv/4ptNsFErD2CjiDDxBekO5iemO AUZLLe2dAF4BDxeLTvZw6Gm+dETkcopdzDVfN6lr67qRzYdMuJIgs9sv2cZyUZk= =FYme -----END PGP SIGNATURE----- --Sig_/RLLfAQpz5Ro8AZ81XM8yPT5--