Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 17:47:25 +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:  <20140420174725.199ec7af.ohartman@zedat.fu-berlin.de>
In-Reply-To: <CBBECAB9-B48F-416C-BE39-64D6D5738B9C@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> <20140419193019.0ee792e6.ohartman@zedat.fu-berlin.de> <CBBECAB9-B48F-416C-BE39-64D6D5738B9C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/mmaMNWPqkN3_XvaxYh3a_=v
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sat, 19 Apr 2014 20:25:51 +0200
Dimitry Andric <dim@FreeBSD.org> wrote:

> On 19 Apr 2014, at 19:30, O. Hartmann <ohartman@zedat.fu-berlin.de> wrote:
> > On Sat, 19 Apr 2014 18:44:51 +0200
> > Dimitry Andric <dim@FreeBSD.org> wrote:
> ...
> >>> 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 =
/usr/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.
> > what compiler does your copy use as default? I use CLANG 3.3/3.4
>=20
> Just the version of clang that comes with stable/9 r264647, e.g.:
>=20
> FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
>=20
> Are you using a port version of clang to build kdelibs4, by any chance?
>=20
> -Dimitry
>=20

I successfully built, as a workaround, the port x11/kdelibs4 with gcc 4.7 (=
port lang/gcc).

The box in question is a Dell Latitude E6510 notebook with only 4 GB of RAM=
, could this
be the issue? The system very often starts swapping. Even my oldstyle E8400=
 workstation
with only 8 GB (most recent 11.0-CURRENT) starts swapping very often and re=
cently, I saw
musterious compiler erros and stopping compiling processes never seen bevor=
. Restarting
the failed portbuild most often finish successfully.

FreeBSD 9.2-STABLE #0 r264688: Sun Apr 20 10:51:40 CEST 2014
    root@munin:/usr/obj/usr/src/sys/MUNIN amd64
FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
CPU: Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz (2394.19-MHz K8-class =
CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x20652  Family =3D 0x6  Model =3D 0x25=
  Stepping =3D 2
  Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=3D0x298e3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SS=
SE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AESNI>
  AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=3D0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  =3D 4294967296 (4096 MB)
avail memory =3D 4021952512 (3835 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <DELL   E2     >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  5
ACPI Warning: 32/64X FACS address mismatch in FADT - 0xCF76BF40/0x00000000C=
F76ED40, using
32 (20110527/tbfadt-514) ioapic0 <Version 2.0> irqs 0-23 on motherboard


--Sig_/mmaMNWPqkN3_XvaxYh3a_=v
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iQEcBAEBAgAGBQJTU+wNAAoJEOgBcD7A/5N82NIIAJfAv8zZp1lPfvQkz0HnPnOj
AhNGn8lY5PjE9EalTbptOvZw+K9/c6lMP9vZsbVtOdePGa9iPPr3QUO/QNiPPL0n
HxcBdfpnuZdwlFn82Y718/QDpf+eOKc9+WHHwuyzYau438UCAXcYyuvEtnXgW5jc
Fudv5bDgFrPGeQkhOXMsmBx6Ke39YNPQslud54X3WLcf6syOC1aAhfw/nAgPS5T1
guwc9D19CnY9aeyn5qtqicOpcLMhMWyX8SjS6AsFCmnuNyNTka1d8oKfmPGvnyn2
4HQSq7BkluMgkjMS+sOY5voKvAAiW1gErKYXxaEM/4Vs2zJ4Rj1Ua3mDUmo9bXo=
=Xn/f
-----END PGP SIGNATURE-----

--Sig_/mmaMNWPqkN3_XvaxYh3a_=v--



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