From owner-freebsd-stable@FreeBSD.ORG Sat Apr 19 22:59:28 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9464A8D7 for ; Sat, 19 Apr 2014 22:59:28 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50C321AB4 for ; Sat, 19 Apr 2014 22:59:27 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id AA65F20C36; Sat, 19 Apr 2014 18:59:26 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 19 Apr 2014 18:59:26 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=8+k1mdSxRCq7Xd/ALIr1iI9Hsq4=; b=qA3pAe1yWbex7hVv/rjO4MG2KCfA wRAoqwJvHvSZ33u5UDkmFDTWy0fl9HIzP0KERJSGiHBbOG3f1kbo+eQ9QfIheLsR 7unOYm80OXdTjAsxT5spFlAYtYrt6lIZttTm5TRW0Kph3CcqylQMs/ENBKZoZwN3 7H3sEEytMLBg1VE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=8+k1mdSxRCq7Xd/ALIr1iI 9Hsq4=; b=D5QKj0ydaa2JP3ktBq11cY5lq31ODkYj1ZIxNXLFT03sPLMAZ6mnRn ljvGGtsIi3zZ6z8xVR7xHnhVZflFiUMICkagW6By+LYNfPzQ7ph/uoC3HuqT8U4O zsX8S/gTjAcDCtuFJV+Zo0YrbbDlJoyh7Ja1tLQrvFNT2/ol2jbao= X-Sasl-enc: 0v2WnyBLs1AAwxoUhcwn4ESsAb5BPritrAV24Oho7H7m 1397948366 Received: from eventide.harmony.edu (unknown [217.84.20.61]) by mail.messagingengine.com (Postfix) with ESMTPA id D0CD46800E5; Sat, 19 Apr 2014 18:59:25 -0400 (EDT) Date: Sun, 20 Apr 2014 00:59:23 +0000 From: fastmail To: "O. Hartmann" Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 Message-Id: <20140420005923.9627ee683088e927429332ea@fastmail.fm> In-Reply-To: <20140419210243.76f3c9cd.ohartman@zedat.fu-berlin.de> References: <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org> <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> <20140419193019.0ee792e6.ohartman@zedat.fu-berlin.de> <20140419210243.76f3c9cd.ohartman@zedat.fu-berlin.de> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 22:59:28 -0000 On Sat, 19 Apr 2014 21:02:43 +0200 "O. Hartmann" wrote: > On Sat, 19 Apr 2014 20:25:51 +0200 > Dimitry Andric wrote: > > > On 19 Apr 2014, at 19:30, O. Hartmann wrote: > > > On Sat, 19 Apr 2014 18:44:51 +0200 > > > Dimitry Andric wrote: > > ... > > >>> Stop in /usr/ports/x11/kdelibs4/work/.build. > > >>> *** [khtml/CMakeFiles/khtml.dir/all] Error code 1 > > >>> > > >> > > >> 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 > > > > In have installed devel/llvm33 and lang/clang33. On this specific 9.2-STABLE system, I > use this setting in /etc/make.conf for clang over gcc 4.2 selection: > > [...] > ## > ## CLANG > ## > .if !defined(NO_CLANG) > .if !defined(CC) || ${CC} == "cc" > CC= clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX= clang++ > .endif > .if !defined(CPP) || ${CPP} == "cpp" > CPP= clang-cpp > .endif > ## Don't die on warnings > NO_WERROR= > WERROR= > ## Don't forget this when using Jails! > #NO_FSCHG= > CFLAGS+= -O3 -pipe -fno-strict-aliasing > COPTFLAGS+= -O3 -pipe > .endif > > [...] > > As of this moment, I replace llvm33 with llvm34 and clang33 with clang34 (ports). How can > I asure that system's base compiler is used? > You can asure it by specifying the full paths (e.g. CC=/usr/bin/clang instead of clang), however if you want to use clang as the default compiler specifying WITH_CLANG_IS_CC=yes in /etc/src.conf is probably easier than overloading the compiler variables. Alonso