Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 10:32:37 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Dimitry Andric <dim@FreeBSD.org>
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:  <20140419103237.41962eff.ohartman@zedat.fu-berlin.de>
In-Reply-To: <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org>
References:  <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/c=vX/8VUFKLLsWzy79lDnaN
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Fri, 18 Apr 2014 20:32:29 +0200
Dimitry Andric <dim@FreeBSD.org> wrote:

> On 18 Apr 2014, at 08:10, O. Hartmann <ohartman@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).
>=20
> 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 change=
d 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.

>=20
>=20
> ...
> > 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_docume=
ntimpl.cpp:25:
>=20
> 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=3Dyes the compiler gets stuck earlier, se=
e below.
Find attached the requested files - but they have been dumped with MAKE_JOB=
S_UNSAFE=3Dyes
set.

>=20
> -Dimitry
>=20


[ 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_doc=
impl.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_nod=
eimpl.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/kdelib=
s-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/kdeli=
bs-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:3=
3: note:
expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_VEC( N ) (Q=
Char*) 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:3=
3: note:
expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_VEC( N ) (Q=
Char*) 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.or=
g/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:=20

********************
*** [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

--Sig_/c=vX/8VUFKLLsWzy79lDnaN
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTUjSrAAoJEOgBcD7A/5N83XYH/iOMGRwd3LObER5d9qFXbdYo
xrLtMnxng5SPDTpBNlxyErwsOwK5PfeTR8l7KRj6fytchdgV7mSA5sKAXMcZ0jSP
hwPcfasOBvOeQAhxfjBqjl/Dm0aftLQHqnfKWUaoVMZS5+jqozO3WiTfzM8b/Buc
Y2j/38mPyQx1TTKKZmYfC60GMPGAsGD1000N3MEGjk0zh64Qo3sff+hwHUhTX3p1
Pgsfh57B7IVMFWiS0aUcS8vQ1FD9mKhamxvd+/L0fDNHE2S/4Zue/5wwrhzC4bbk
523lQdI8qYDi51IJBVrUdoNr+qsThdRyXwFZ+/0PNTjy0306Zx2TpkXSLF9fd0M=
=UYWn
-----END PGP SIGNATURE-----

--Sig_/c=vX/8VUFKLLsWzy79lDnaN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140419103237.41962eff.ohartman>