|
|
Message-ID: <20261022123154.GC23438@brightrain.aerifal.cx> Date: Thu, 22 Oct 2026 08:31:55 -0400 From: Rich Felker <dalias@...c.org> To: mark.yang@....com Cc: Szabolcs Nagy <nsz@...t70.net>, musl@...ts.openwall.com Subject: Re: Re: [PATCH] configure: add --sysconfdir for the dynamic linker path file On Thu, Oct 22, 2026 at 08:23:50PM +0900, mark.yang@....com wrote: > 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. This is a broken patch. The dynamic linker path is ABI and always needs to be /lib/ld-musl-$ARCH.so.1. This works fine with usrmerge because /lib exists and is either a symlink to /usr/lib or vice versa. Rich
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.