From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OPe4m-0007rC-Bv for garchives@archives.gentoo.org; Fri, 18 Jun 2010 16:05:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EADC8E0BE6 for ; Fri, 18 Jun 2010 16:05:51 +0000 (UTC) Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 6449BE08E6 for ; Fri, 18 Jun 2010 15:48:36 +0000 (UTC) Received: by pxi18 with SMTP id 18so490266pxi.40 for ; Fri, 18 Jun 2010 08:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=V5ZjRG16+iDzY2FnWd9EUtQl3s+uW4LW4j2Uevtvd50=; b=uLOt99tyQKtdnK5L/TdxHqyyrkTQ36KH7+Mqx9rpuYXsW5+8KonR3GUMspnzd8eszI gO+TjLLUuZXTf0/3NdGYz/SwfjDbuqd/iA3cJZGn7VBvJW1Oh39DUPXMKo14QLUoNI5F 9YDehP3K92zqo+3h6sNkvYGjsumrqVZLW+4iA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=PBqmLFja0Oh1NW0qOKGrw+3iNyASUwzQhGEL90B1sWKYnMA0LFfXbWm2I+zqASyjoK bvwZHywlDYwu74UVhNLWdtiSaPj00fyjl8At9VhtCeAETZJKxxtq8qB4Ur5gZ1waj3HC JIv7upQ0of8LHJxdx7EbnjJlMa4BLCW6B4udA= Received: by 10.115.65.19 with SMTP id s19mr987131wak.203.1276876115680; Fri, 18 Jun 2010 08:48:35 -0700 (PDT) Received: from [192.168.0.12] ([209.20.133.224]) by mx.google.com with ESMTPS id c14sm16529005waa.13.2010.06.18.08.48.34 (version=SSLv3 cipher=RC4-MD5); Fri, 18 Jun 2010 08:48:34 -0700 (PDT) Message-ID: <4C1B9547.5090306@gmail.com> Date: Fri, 18 Jun 2010 08:48:23 -0700 From: Bill Longman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100608 Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5 References: <4C194224.7030007@foo-bar.co.uk> <4C1A3901.4000508@gmail.com> <20100618002318.GA4357@waltdnes.org> In-Reply-To: <20100618002318.GA4357@waltdnes.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5ccd6cff-cfe8-486a-b5a9-7b318b6a06d9 X-Archives-Hash: 34d1de2837b6f2e36e85f8d605051bce On 06/17/2010 05:23 PM, Walter Dnes wrote: > On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote >> On 06/16/2010 05:33 PM, walt wrote: >>> On 06/16/2010 02:29 PM, Thomas Revell wrote: >>>> Hi everyone, >>>> >>>> I've got a bit of a problem with a new Gentoo install that I'm currently >>>> trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5 >>>> is failing, apparently due to a missing header file in its sources. >>> >>> >>>> [ 11%] Generating koptionsdlgs.h >>> >>>> moc: >>>> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h: >>>> >>>> No such file >>> >>> I have no idea what's going wrong, but I'm willing to make suggestions >>> anyway :) >> >> I have no better suggestion than to change your ricer CFLAGS and see if >> "-O2 -pipe -march=core2" works first. Especially since you have: >> >> "-mno-align-stringops -minline-stringops-dynamically" >> >> and kfilereplace.cpp:37 warns about QStringList& and further along, it >> creates kaddstringdlgs.h. >> >> BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3). > > Even better is "-march=native", and let the compiler figure out what > features are available/safe. I use the following... > > CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe" > > If you're building 64-bit Gentoo, the "-mfpmath=sse" gets picked up by > "-march=native" and you can drop the explicit mention. > > And you wouldn't believe how many weird build problems are solved by... > > MAKEOPTS="-j1" > > ...even on multi-core cpus. The *BUILD PROCESS* is a bit slower, but > the final binary is identical with -j8 or whatever. And the time you > "save" by a faster build in a tty will be lost the first time you start > bashing your head into a brick wall over some weird build problem. > Exactly. And the same with distcc. If you do not use --keep-going, you'll likely see that long compile end abruptly. My typical modus operandii is to use distcc, then compile locally, then just use -j1 locally. You get there but you have to be willing to babysit it. For example, I just upgraded two of my VMs to gcc 4.4 so I will recompile "-qe world" on them. Since it's the weekend, I'll just turn off distcc and let them run -j1. When I come back on Monday, I expect to see a sparkling clean and shiny new Gentoo VM. Well, I can at least hope! I'll probably run out of inodes or something....