On Fri, 18 Apr 2014 20:32:29 +0200 Dimitry Andric <d...@freebsd.org> wrote:
> On 18 Apr 2014, at 08:10, O. Hartmann <ohart...@zedat.fu-berlin.de> wrote: > > I run on a 9.2-STABLE box since a couple of weeks for now always into > > the same problem. The port x11/kdelibs4 has been updated or needs to be > > recompiled but the compiling process gets stuck forever (now I let the > > system being stuck over night ~ 12 hours). > > Which revision of 9-STABLE, and which version of clang? At this very moment, it is 9.2-STABLE #0 r264545: Wed Apr 16 21:09:51 CEST 2014 amd64 and for CLANG it is FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 Target: x86_64-unknown-freebsd9.2 but I try for ~ 4 weeks now unsuccessfullz to compile and the OS has changed in the meanwhile as well as we are on 9.2-STABLE with LLVM/CLANG 3.4 now - it was the same a couple of weeks ago with LLVM/CLANG 3.3. > > > ... > > The process ends up always at 98%, see below. I already completely > > deinstalled the port and let the portmaster update process recreate it, > > but it is the same status at the end. > ... > > [ 98%] Building CXX object > > khtml/CMakeFiles/khtml.dir/html/html_documentimpl.o In file included > > from > > /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/html/html_documentimpl.cpp:25: > > Can you get me the preprocessed version of html_documentimpl.cpp? It > should be enough to send a TERM signal to the clang -cc1 process, then > it should dump a .sh and .ii file in /tmp. With the setting MAKE_JOBS_UNSAFE=yes the compiler gets stuck earlier, see below. Find attached the requested files - but they have been dumped with MAKE_JOBS_UNSAFE=yes set. > > -Dimitry > [ 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
signature.asc
Description: PGP signature