View Single Post
Old 08-29-2015, 05:27 PM   #28
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@knc1: AFAIK, that's just one iteration of multilib hacks^Wsupport trying to be smart, it's been a while, but I'm pretty sure that's by design, and that nothing will every override those multilib search paths, at the very least for base libaries?
Granted, the way they get appendend to potentially user-specified base search-paths is freaky (and potentially hilariously dangerous, but that's always been a potential issue with custom searchpaths) ^^.

The issue with patchelf is that it just plain breaks binaries sometimes by reordering/resizing ELF sections in a way that makes binutils and/or the dynamic loader sad.
When it works, it works as well as it should, but in this specific instance, it breaks (at least) matchbox with certain rpath strings, unless you try again with a different string to force another resize/reorder (cf. what happens with --debug, I did a first set-rpath pass w/ $ORIGIN, and another w/ /mnt/us/foo; doing this in two passes works, doing either of those in one pass doesn't [segfault], as well as doing it in the reverse order).

Last edited by NiLuJe; 08-29-2015 at 05:33 PM.
NiLuJe is offline   Reply With Quote