From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 09:56:02 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 188C21065690 for ; Thu, 14 Aug 2008 09:56:00 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 022988FC1A for ; Thu, 14 Aug 2008 09:55:59 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id AEC9D1CC0BA; Thu, 14 Aug 2008 02:55:59 -0700 (PDT) Date: Thu, 14 Aug 2008 02:55:59 -0700 From: Jeremy Chadwick To: Morgan =?iso-8859-1?Q?Wesstr=F6m?= Message-ID: <20080814095559.GA15612@eos.sc1.parodius.com> References: <48A3E29D.3090504@pp.dyndns.biz> <20080814081309.GA8249@eos.sc1.parodius.com> <48A3EE12.7060302@pp.dyndns.biz> <20080814085125.GA12129@eos.sc1.parodius.com> <48A3F643.80508@pp.dyndns.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48A3F643.80508@pp.dyndns.biz> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: Removing /usr/lib32 on AMD64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 09:56:02 -0000 On Thu, Aug 14, 2008 at 11:09:23AM +0200, Morgan Wesström wrote: > Jeremy Chadwick wrote: >> I don't remember if 7.0-RELEASE sysinstall lists it, but I know >> 7.0-STABLE does. > > Oh, that explains it. I installed RELEASE and am still on RELEASE tbh. > Sorry for being on the wrong list... :-/ You're on the right list. You just need to know the difference between RELEASE and STABLE. RELEASE is more or less the "first time FreeBSD version x.y has been released to the world", and STABLE are all further updates to that version going forward. >>> I don't rememeber any obvious question at least and /etc/src.conf >>> did not exist efter install. >> >> What relevancy does this have to sysinstall? Nothing during sysinstall >> touches src.conf. Every FreeBSD system will be missing /etc/src.conf >> after an install; the same goes for /etc/make.conf. It's normal. > > WITHOUT_LIB32 is supposed to be in src.conf. If it's missing on STABLE, > wouldn't that mean 32-bit compatibility would be added to STABLE at next > world rebuild Correct. If a person unselects lib32 during sysinstall, they will need to remember to also add WITHOUT_LIB32=true to /etc/src.conf, otherwise lib32 stuff will get installed during the next world build and install. sysinstall manipulating src.conf would be a Really Nice Feature(tm), and would probably save some folks from the exact situation you're describing. > ... or is there another mechanism preventing this from happen? Nope, src.conf is the right place. >>> There's also a /libexec/ld-elf32.so.1 left, with the same old date as >>> the libs, and a symlink from /usr/libexec/ld-elf32.so.1 pointing to >>> it. Should I leave them or remove them? They were not mentioned in >>> the diff in the bugreport. >> >> You should safely be able to remove those as well, assuming you have >> rebuilt/reinstalled world, and rebuilt all of your ports. Otherwise >> upon removal, programs utilising ld-elf32.so.1, won't have a valid >> ld.so loader, and will fail immediately. > > World is rebuilt but I haven't rebuilt my ports but they shouldn't have > been built against the 32-bit libraries in the first place, should they? That depends on if the port chooses to utilise such. ldd(1) will answer that question. It can be a tedious process to go through all the binaries on one's system to see which are linked with what, however. > 64-bit libraries are the default choice I assume or am I missing > something vital here? I'll remove them and see what happens when I > reboot. It will be an exciting start of the day ;-) Chances are nothing uses them, but then again I have no idea what ports or packages you've installed -- there are some which do not work on amd64 and are explicitly for i386. > Thanks again for your help, It's highly appreciated. No problem! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |