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 1RfYBA-0003pY-Rj for garchives@archives.gentoo.org; Tue, 27 Dec 2011 14:39:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6B0F21C0DF; Tue, 27 Dec 2011 14:38:46 +0000 (UTC) Received: from mail-tul01m020-f181.google.com (mail-tul01m020-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8AEB121C097 for ; Tue, 27 Dec 2011 14:37:46 +0000 (UTC) Received: by obbup6 with SMTP id up6so8283844obb.40 for ; Tue, 27 Dec 2011 06:37:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=YwJUT3Wh6b4SyeIW/vAL1cT9IsyPD4PLsqgdL0QHFQ4=; b=dObPpIPcWo5Zfo6TnqhtvQxRZt7KvfB6Px/22wy4CvEp8Bp51Y+MFtJ0953P26BVmQ mgCA+jnDylL9b5BEuw328HrcGYWU/6h3jO9ZiuTwkVs3DJ35wVLV4iN/6uLnE2QdPPre 514hlEyegAL6Jgno0DlmSPwIFxlu9ka8QQ3lQ= Received: by 10.50.77.227 with SMTP id v3mr30881929igw.8.1324996665744; Tue, 27 Dec 2011 06:37:45 -0800 (PST) Received: from [192.168.9.92] (adsl-76-236-174-54.dsl.klmzmi.sbcglobal.net. [76.236.174.54]) by mx.google.com with ESMTPS id nw8sm45681295igc.7.2011.12.27.06.37.43 (version=SSLv3 cipher=OTHER); Tue, 27 Dec 2011 06:37:44 -0800 (PST) Message-ID: <4EF9D830.9050706@gmail.com> Date: Tue, 27 Dec 2011 09:37:36 -0500 From: Michael Mol User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5 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] Build problems due to invalid libtool arguments References: <4EF8BB9F.1060200@wonkology.org> <20111227080856.GA23625@waltdnes.org> In-Reply-To: <20111227080856.GA23625@waltdnes.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 69aa5980-6592-4d3a-8943-2818374501f9 X-Archives-Hash: 8c9fc02736758b47b9e65f08aea9492b Walter Dnes wrote: > On Mon, Dec 26, 2011 at 07:23:27PM +0100, Alex Schuster wrote > I notice that you have 'MAKEOPTS="-j4"'. You wouldn't believe how > many problems you can solve by changing to 'MAKEOPTS="-j1"'. Yes, the > build process may take a bit longer, but the final executable runs just > as fast. Change to 'MAKEOPTS="-j1"' and see what happens. > > The concept of parallel jobs is nice in theory, and you can *USUALLY* > get away with it. The problem is that if a job tries to use an > intermediate file before it's fully created, or if the "destructor" > (file deletion) does it's thing before the scratch file has been used, > things get very fouled up. My attitude is that the first time you spend > hours trying to trace down a non-replicatable bug, you will lose more > time than you "save" by speeding up builds with 'MAKEOPTS="-j4"'. While I agree poking the MAKEOPTS is a good idea, I'd like to point out my own experience with parallel builds. IME, running with emerge "--keep-going", and then running "emerge --resume --keep-going" once or twice *afterward* typically solves any problem I had on my first pass. I suspect unspecified dependencies are usually to blame.