Mike Gilbert <flop...@gentoo.org> wrote: > On Wed, Aug 2, 2017 at 1:51 PM, Martin Vaeth <mar...@mvath.de> 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.)