Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2014 19:30:19 +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:  <20140419193019.0ee792e6.ohartman@zedat.fu-berlin.de>
In-Reply-To: <A9688D03-8CC4-4C60-9BBD-A364BB598D46@FreeBSD.org>
References:  <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org> <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> <A9688D03-8CC4-4C60-9BBD-A364BB598D46@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dim@FreeBSD.org> wrote:

> 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: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
> > <parser-b6e15c.cpp><parser-b6e15c.sh>
>=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--



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