From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1ELLPL-0002JU-PY for garchives@archives.gentoo.org; Fri, 30 Sep 2005 13:58:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8UDoE5K030497; Fri, 30 Sep 2005 13:50:14 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8UDkbik005760 for ; Fri, 30 Sep 2005 13:46:38 GMT Received: by wproxy.gmail.com with SMTP id i5so166496wra for ; Fri, 30 Sep 2005 06:54:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=cWy8XbjyrMc/9q/8orYuphecc7xUnJjHcd9WkAw6NZBQRMHLGqYIy9oyRCTxOUWawiOzKy0mAFG1Z+shjAREoqygn1eXVPjoFCiEnXL9vaEdRbWAeCDBX80R9UlpDKBVvuBRFijV41N3sgr4UwJFVvMBs8yzas9nReAGd2L9o/I= Received: by 10.54.103.17 with SMTP id a17mr835533wrc; Fri, 30 Sep 2005 06:54:10 -0700 (PDT) Received: by 10.54.132.19 with HTTP; Fri, 30 Sep 2005 06:54:10 -0700 (PDT) Message-ID: <397042c80509300654508f27da@mail.gmail.com> Date: Fri, 30 Sep 2005 14:54:10 +0100 From: Darragh Bailey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ccache taking way too long time In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8556_29817988.1128088450665" References: X-Archives-Salt: b83db9a3-ee54-41f4-8686-3127fa89914d X-Archives-Hash: 15e7d6769bc5c5db8b2f179d3a665c09 ------=_Part_8556_29817988.1128088450665 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/29/05, Fernando Meira wrote: > > > # du -sh .ccache/ > 965M .ccache/ > > # ccache -s > cache hit 4569 > cache miss 32736 > called for link 3200 > multiple source files 7 > compile failed 618 > preprocessor error 209 > not a C/C++ file 1420 > autoconf compile/link 3617 > unsupported compiler option 1214 > no input file 2570 > files in cache 65472 > cache size 960.6 Mbytes > max cache size 2.0 Gbytes > > Can it be just because it's inside root's dir? > > Cheers, > Fernando > Depends on what features your using, but yes is probably the correct answer= . Not 100% certain about all the features that can have this affect but userpriv would definitely prevent use of that ccache location when compiling. If it is enabled you can disable it and allow root to build, but personally I think a better bet is to use a different location for the ccache. -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool" ------=_Part_8556_29817988.1128088450665 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 9/29/05, Fernando Meira <fmeira@g= mail.com> wrote:

# du -sh .ccache/
965M    .ccache/

 # ccache -s
cache hit            =             &nb= sp;  4569
cache miss            = ;             32736
called for link            = ;         3200
multiple source files         =          7
compile failed           &nb= sp;           618
preprocessor error           &nbs= p;       209
not a C/C++ file            = ;        1420
autoconf compile/link         =       3617
unsupported compiler option        = 1214
no input file            = ;           2570
files in cache           &nbs= p;         65472
cache size            = ;             960.6 Mbytes
max cache size            = ;           2.0 Gbytes

Can it be just because it's inside root's dir?

Cheers,
Fernando

Depends on what features your using, but yes is probably the correct answer= .


Not 100% certain about all the features that can have this affect but userpriv would definitely prevent use of that ccache location when compiling.

If it is enabled you can disable it and allow root to build, but personally I think a better bet is to use a different location for the ccache.

--
Darragh Bailey
"Nothing is foolproof to a sufficiently t= alented fool" ------=_Part_8556_29817988.1128088450665-- -- gentoo-user@gentoo.org mailing list