|
|
Message-ID: <20261022112350.4079511-1-mark.yang@lge.com> Date: Thu, 22 Oct 2026 20:23:50 +0900 From: mark.yang@....com To: Szabolcs Nagy <nsz@...t70.net> Cc: musl@...ts.openwall.com, "mark.yang" <mark.yang@....com> Subject: Re: [PATCH] configure: add --sysconfdir for the dynamic linker path file From: "mark.yang" <mark.yang@....com> * Szabolcs Nagy <nsz@...t70.net> [2026-10-22 11:42:53 +0200]: > why would you place ld.so in /usr/lib? that's an unusual setup. > what are you trying to do? This comes from OpenEmbedded (Yocto) with the usrmerge distro feature. It is the distro default, not a test or isolation setup. With usrmerge /lib is a symlink to usr/lib. The gcc recipe carries a patch that takes the musl dynamic linker path from the system library directory, /usr/lib there, so gcc writes /usr/lib/ld-musl-$ARCH.so.1 into PT_INTERP. > changing ld.so path for testing, isolation or custom sysroot is > fine, but then you would not use /usr/lib (nor any system wide > abs path). you can also symlink /usr/etc/foo to /etc/foo Understood. Other musl distros keep /lib/ld-musl-$ARCH.so.1 in PT_INTERP even with a merged /usr. Please consider this patch withdrawn. Thanks for the explanation.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.