From owner-freebsd-stable@FreeBSD.ORG Fri Jan 30 17:20:45 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37BFBE72 for ; Fri, 30 Jan 2015 17:20:45 +0000 (UTC) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id C473FBBD for ; Fri, 30 Jan 2015 17:20:43 +0000 (UTC) Received: from ppp118-210-27-239.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.27.239]) by ipmail06.adl6.internode.on.net with ESMTP; 31 Jan 2015 03:50:43 +1030 Message-ID: <54CBBD67.5060404@ShaneWare.Biz> Date: Sat, 31 Jan 2015 03:50:39 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFya28gQ3VwYcSH?= , freebsd-stable@freebsd.org Subject: Re: freebsd-update and lib32 References: <20150130145033.9c6459154a028e17b2f03f7f@mimar.rs> In-Reply-To: <20150130145033.9c6459154a028e17b2f03f7f@mimar.rs> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2015 17:20:45 -0000 On 31/01/2015 00:20, Marko Cupać wrote: > Hi, > > for years I've been leaving default 'lib32' option during initial > install of FreeBSD selected, but now I am experimenting with a server > which will be 64-bit only. > > I have noticed that, after initial install of FreeBSD 10.1-RELEASE > without lib32 selected, /usr/lib32 folder is created nevertheless, > containing 3 empty dirs: dtrace, i18n and private. However, running > freebsd-update on such system pulls a bunch of files into /usr/lib32 > and its subdirs while updating to FreeBSD 10.1-RELEASE-p5. Doing a buildworld WITHOUT_LIB32 still creates these dirs. I reported it a while back but it is still on someones todo list. Not sure if that is also related to freebsd-update or is the cause of it triggering the lib32 install. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165175 > Are those files really necessary on 64-bit only system? No they aren't needed, you can delete /usr/lib32 without any problems. I have been deleting it for a few years now without issue. In fact deleting it may fix some port builds, such as older versions of valgrind tested for lib32 to determine if it builds 32bit libs and failed if lib32 was empty, the new version now has an option for 32bit. I just keep `rm -R /usr/lib32` as a step in my notes on updating. -- FreeBSD - the place to B...Software Developing Shane Ambler