From owner-freebsd-current@freebsd.org Wed Aug 5 02:12:18 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3EECC3A6518 for ; Wed, 5 Aug 2020 02:12:18 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BLw9r70qRz48nw for ; Wed, 5 Aug 2020 02:12:16 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id E42BF3B527 for ; Wed, 5 Aug 2020 11:12:06 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1596593526; bh=Id4EkHTgEUVHDwXAHRA9PbI1sCo1KQHayFmUU3+3QPk=; h=Date:To:Subject:From; b=hL+bxvf6gMMTbhJqfAlu8StOCFDB3uMWlMxAFvsy9zqcwwgbSOuqUgx4bdO/0XTHx sl8H50O393RliC3xpb+uSoi0nzfyf6mwYWlmtYka2rbn+I9orqfSx1Nm6kCxNY2VH+ v6X5tXYrRciRIIlj1I9GjRf9lMFCHp0FSJeBIl6BviM4SbL/5gzscSFecF4yPnC2U6 f4KiD8NOpeLjeFEd2ZC5xuwOK1tXu7tgWT2+9vGA3amBwB+cXo0crsg4w+B+SAx9hC GljwEjVrXPxKDJh18JV2u3x8CgA8TscUR/2+2QXtdWHixPy6p6ZgreyVHNBOVDmo/O 1lFriYrpFWv5g== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id E66F2487F4; Wed, 5 Aug 2020 11:12:05 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at eastasia.home.utahime.org Date: Wed, 05 Aug 2020 11:11:48 +0900 (JST) Message-Id: <20200805.111148.1054885205951365130.yasu@utahime.org> To: freebsd-current@freebsd.org Subject: Why ld-elf32.so.1 is included not in lib32.txz but in base.txz? From: Yasuhiro KIMURA X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BLw9r70qRz48nw X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=hL+bxvf6; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [0.52 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.006]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[utahime.org]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; DKIM_TRACE(0.00)[utahime.org:+]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM_SHORT(0.50)[0.501]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 02:12:18 -0000 Hello. Let me assume I make clean install of 13-CURRENT amd64 by using latest snapshot install media (right now 20200730-r363681). At "Distribution Selection" stage I unselect "lib32". Then 32bit libraries are not installed after installation is completed. Next, I add 'WITHOUT_LIB32=yes' to /etc/src.conf, check out base source tree to /usr/src, cd there and execute 'make delete-old'. Then following files and directories are asked to be removed. /etc/mtree/BSD.lib32.dist /libexec/ld-elf32.so.1 /usr/lib32/libxo/encoder /usr/lib32/libxo /usr/lib32/i18n /usr/lib32/geom /usr/lib32/engines /usr/lib32/dtrace /usr/lib32 I accept to remove all of them and they are removed. After that I reboot system. Then it starts up without any error. Now I have one question. Why ld-elf32.so.1 is included not in lib32.txz but in base.txz? Is there any reason it is necessary when installing OS even if 32bit libraries aren't instlled? Best Regards. --- Yasuhiro KIMURA