[9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4
Dimitry Andric
dim at FreeBSD.org
Sat Apr 19 16:45:09 UTC 2014
On 19 Apr 2014, at 10:32, O. Hartmann <ohartman at 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 = 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 = 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 = 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: ********************
>
> 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:
>
> ********************
> *** [khtml/CMakeFiles/khtml.dir/css/parser.o] Error code 254
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140419/f44e38ea/attachment.sig>
More information about the freebsd-ports
mailing list