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.54) id 1FGxT6-00059T-Dt for garchives@archives.gentoo.org; Wed, 08 Mar 2006 12:08: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 k28C5wZU029032; Wed, 8 Mar 2006 12:05:58 GMT Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k28C5vX0028724 for ; Wed, 8 Mar 2006 12:05:57 GMT Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FGxMv-0001HL-4o for gentoo-amd64@lists.gentoo.org; Wed, 08 Mar 2006 13:02:17 +0100 Received: from ip68-230-97-182.ph.ph.cox.net ([68.230.97.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Mar 2006 13:02:17 +0100 Received: from 1i5t5.duncan by ip68-230-97-182.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Mar 2006 13:02:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] Re: MAKEOPTS="-j3" and dual opteron system Date: Wed, 08 Mar 2006 05:02:00 -0700 Organization: Organization? Me? Message-ID: References: <200603081035.15013.hans-gunther.borrmann@rz.uni-freiburg.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-97-182.ph.ph.cox.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Sender: news X-Archives-Salt: 8e6c5a70-d872-448f-aaff-447319d96d98 X-Archives-Hash: b08d3648a4a03daf03764bb8b49bc3f4 Hans-Gunther Borrmann posted <200603081035.15013.hans-gunther.borrmann@rz.uni-freiburg.de>, excerpted below, on Wed, 08 Mar 2006 10:35:14 +0100: > I tried to "emerge --oneshot glibc" on a dual opteron system with > "MAKEOPTS="-j3" in make.conf. The emerge began several times to loop at > different places. The looping program always was "sh". I could successfully > emerge glibc after commenting out my MAKEOPTS setting in make.conf. What are > the experiences with setting MAKEOPTS on smp servers? I'm running a dual Opteron (242) here, and routinely run MAKEOPTS="-j6 -l6" here, plus sometimes run multiple parallel emerges (using emerge -tp first to see what the dependencies are, then emerge -a to verify that the same dependency isn't in both). As I'm running ~amd64, plus running way out front with still-masked gccs (now gcc-4.0.2-rX and gcc-4.1.0), which sometime last year (with gcc-4.0.0) required still experimental glibcs if I wanted to compile themm with the new gcc, I tend to do more merging of everything, including glibc, than most, and IDR ever having that sort of issue. Occasionally, there's an ebuild that has parallel job issues, but they tend to be pretty rare, because as they are found and bugged, the ebuild will be adjusted to filter out the -jX and force serial compilation jobs. In fact, a quick: "grep MAKEOPTS /p/sys-libs/glibc/*|grep j1" returns a huge number of hits, multiple per ebuild, where serial compilation is already forced by the various glibc ebuilds. Assuming you didn't manually filter all those forced -j1 calls, all I can say is perhaps another one or more need added. They apparently haven't been triggered for most of us or it'd already be forced, but maybe your machine just happens to trigger it in a different area. Either that or there's something strange going on with your bash or make or the like and it's filtering the wrong thing. What glibc are you attempting to merge, what are your bash, portage, gcc, and make versions, and where exactly is the error? If you know bash scripting well enough to follow what the ebuild is doing, it shouldn't be hard to verify whether the problem make calls are forcing -j1 or not (some in the glibc ebuilds do, some don't). Also note that MAKEOPTS and MAKE_OPTS are two entirely different vars. There's a note in the xorg ebuilds mentioning that some users had set the _ version instead of the run-together version, and it messed things up. The xorg ebuilds have a preemptive fix for the problem that the glibc ebuilds are missing. If you mistakenly set MAKE_OPTS instead of MAKEOPTS... -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@gentoo.org mailing list