[9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4

O. Hartmann ohartman at zedat.fu-berlin.de
Sun Apr 20 15:47:28 UTC 2014


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

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

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 recently, 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 at 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 = "GenuineIntel"  Id = 0x20652  Family = 0x6  Model = 0x25  Stepping = 2
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x298e3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AESNI>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 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/0x00000000CF76ED40, using
32 (20110527/tbfadt-514) ioapic0 <Version 2.0> irqs 0-23 on motherboard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140420/3e462d53/attachment.sig>


More information about the freebsd-ports mailing list