Date: Sat, 19 Apr 2014 18:44:51 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: freebsd-stable@freebsd.org, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 Message-ID: <A9688D03-8CC4-4C60-9BBD-A364BB598D46@FreeBSD.org> In-Reply-To: <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> References: <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org> <20140419103237.41962eff.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <ohartman@zedat.fu-berlin.de> = 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 > <parser-b6e15c.cpp><parser-b6e15c.sh> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A9688D03-8CC4-4C60-9BBD-A364BB598D46>