From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF77B139694 for ; Wed, 2 Aug 2017 19:08:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9C29E0C63; Wed, 2 Aug 2017 19:08:04 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F5E0E0C56 for ; Wed, 2 Aug 2017 19:08:04 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dcyzq-00042A-6G for gentoo-dev@lists.gentoo.org; Wed, 02 Aug 2017 21:07:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Martin Vaeth Subject: [gentoo-dev] Re: New SYMLINK_LIB=no migration tool for review Date: Wed, 2 Aug 2017 19:07:46 +0000 (UTC) Message-ID: References: <1501689535.795.1.camel@gentoo.org> X-Complaints-To: usenet@blaine.gmane.org User-Agent: slrn/pre1.0.0-26 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: d52fa4f8-8025-42a7-9729-88f93e926e3a X-Archives-Hash: e5a05d141b021fdd5896d8307f7311a3 Mike Gilbert wrote: > On Wed, Aug 2, 2017 at 1:51 PM, Martin Vaeth wrote: >> If this already was discussed then sorry for the noise: >> >> What is the rationale for merging lib32 with lib? >> Wouldn't it be somewhat cleaner to have a completely >> split structure >> >> lib64 >> lib32 >> libx32 (possibly) >> lib > > Here are a couple of reasons: > > 1. Other distros (notably Red Hat and Fedora) put 32-bit libs in "lib". According to bug 506276, Debian has instead merged 64-bit to lib. So it seems to me that there is no "mainstream" to follow. Perhaps striving for the cleanest solution would be the best? > 2. The path to the 32-bit runtime linker (/lib/ld-linux.so.2) is > hard-coded in every x86 binary on your system. I am afraid that these must stay exceptional in any case: Also currently, gentoo (and if I understood correctly, also Debian and Red Hat) has the possible ld-linux{,-x86-64,-x32}.so.2 symlinks in _all_ /lib* directories; I suppose that this is not intended to change. (I assume that a change might break some proprietary binaries which might have hard-coded the "wrong" directory.)