musl-wiki icon indicating copy to clipboard operation
musl-wiki copied to clipboard

FAQ: update ldd information

Open rofl0r opened this issue 3 years ago • 7 comments

according to what was recently discussed in #musl.

rofl0r avatar Oct 07 '21 14:10 rofl0r

A script that like is prone to invoking whatever is in the interpreter field...

Jun 04 04:24:45 <dalias> [02:21:41] a proper ldd should get the PT_INTERP from the binary then execute it with --list

rofl0r avatar Oct 09 '21 22:10 rofl0r

Yes, i disagree with dalias's suggestion. It only matters for a multilib/multiarch system, and even then, I'd rather be told that a given binary is not what I expected. It opens up too much for little gain.

ericonr avatar Oct 10 '21 07:10 ericonr

Also I think squashing the commits would be nice.

ericonr avatar Oct 10 '21 07:10 ericonr

Also I think squashing the commits would be nice.

certainly. i was just about to hit the "squash and merge" button, but to my surprise it isn't enabled for this repo. do you have admin rights to change that ?

rofl0r avatar Oct 10 '21 12:10 rofl0r

<dalias> it's literally just exec /lib/ld-musl-x86_64.so.1 --list "$@"
<dalias> the gratuitously complicted one is trying to support multiple archs from one script
<dalias> rather than just hardcoding the right pathname

ericonr avatar Oct 10 '21 15:10 ericonr

I don't think I have the privileges, no. Squashing locally with git leads to a cleaner commit message too...

ericonr avatar Oct 10 '21 15:10 ericonr

And rebase makes for a more linear git history, which is all this really needs.

ericonr avatar Oct 10 '21 15:10 ericonr