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.62) (envelope-from ) id 1GwHoh-0004rE-L6 for garchives@archives.gentoo.org; Mon, 18 Dec 2006 12:42:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBICe5Ip008971; Mon, 18 Dec 2006 12:40:05 GMT Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBICe4vi021061 for ; Mon, 18 Dec 2006 12:40:04 GMT Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GwHmi-0008Jr-08 for gentoo-amd64@lists.gentoo.org; Mon, 18 Dec 2006 13:40:00 +0100 Received: from ip68-231-13-122.ph.ph.cox.net ([68.231.13.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Dec 2006 13:39:59 +0100 Received: from 1i5t5.duncan by ip68-231-13-122.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Dec 2006 13:39:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] Re: Emerging package as both 64 and 32 bit Date: Mon, 18 Dec 2006 12:39:54 +0000 (UTC) Message-ID: References: <20061216210848.5c36a70a@c1358217.kevquinn.com> <20061218093131.73994121@krikkit.digimed.co.uk> <45866BE0.20905@gentoo.org> 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=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-231-13-122.ph.ph.cox.net User-Agent: pan 0.120 (Plate of Shrimp) Sender: news X-Archives-Salt: 03772165-9406-4a2e-8c33-9ee54fbd9d49 X-Archives-Hash: bc234aea15b485bfd20e5d819a3f75d3 Simon Stelling posted 45866BE0.20905@gentoo.org, excerpted below, on Mon, 18 Dec 2006 12:22:24 +0200: > Neil Bothwick wrote: >> What's wrong with the GRUB source package? I remember using grub-static >> when I first went 64 bit, but haven't used it for ages. The only 32 bit >> stuff I use here is firefox-bin and vmware. > > No problem, but it's 32bit. Indeed... for backward compatibility, amd64/x86_64 boots in 32-bit mode. Actually, I /believe/ it boots in 16-bit real mode, just like an x86, then switches to 32-bit or 64-bit when the appropriate command is given, but AFAIK the difference between compiling 16-bit and 32-bit code is simply a few compile-time switches, so it uses a standard 32-bit toolchain. My point, however, was that since everything else I run is 64-bit, if I didn't need the 32-bit tools to compile grub -- or if I was willing to settle for the pre-compiled grub-static -- I could save myself a *LOT* of extra work by simply using the no-multilib subprofile, thus saving myself all that time compiling the 32-bit side of glibc and gcc in particular. One of these days maybe I'll probably just do it, unmerging grub, merging grub-static, switching to the no-multilib subprofile and remerging glibc/binutils/gcc (they may have to be remerged in a particular order, which I don't know at this point). However, I've been thinking that for awhile and haven't done it yet, and I'll be upgrading my pair of Opteron 242s to dual-core 285s pretty soon here, making it that much less necessary since compiles will be rather faster then, so who knows? Hmm... thinking about it as I write this, something new occurred to me. There's a good probability I could compile grub independent of my system's portage, using a LiveCD (either Gentoo or other), and could therefore go no-multilib without losing my self-compiled grub, if I decided to. I'll have to think on it a bit more. OTOH, simply using grub-static would be far less hassle for what amounts to the same thing, since using a gcc I didn't build myself would leave outside influences on the produced grub anyway. Still, part of what was holding me up was the "just in case" factor, for other 32-bit software as well, and now that I realize I could compile it from a liveCD 32-bit environment or the like if necessary, that pretty much does away with /that/ particular excuse. -- 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 -- gentoo-amd64@gentoo.org mailing list