while trying to prelink /usr/bin/mppenc, it segfaults with the following message: ========================= Prelinking /usr/bin/mppenc prelink: /usr/bin/mppenc: Symbol section index outside of section numbers ./do-prelink: line 2: 16273 Segmentation fault prelink -vafmR =========================
Created attachment 30583 [details] attached: output of emerge info
Please add the output from 'readelf -a /usr/bin/mppenc' to this bug. /usr/bin/mppenc is probably not PIC aware.
Created attachment 30770 [details] Output of readelf as requested
Is there a way to configure prelink for skipping specific files such as this one ? When it segfaults, it lets the system in a partially prelinked state.. Thanks, Joel
Jo
Joël, I don't have any idea about this one as I don't actually use either one of these software pkgs. The readelf did not really provide me with any insight as I hoped it would. None the less I wish you good luck.
Workaround would be moving musepack-tools to /opt for good, I think.
Created attachment 32483 [details, diff] ebuild patch Removes RESTRICT="nomirror", as sources seem to be at mirrors now (#52148) adds nasm to dependancies installs to /opt, which prelink doesn't process
solar: could you takea look at this again? I'd prefer to find out what is wrong with the prelinking rather than just work around it by installing to /opt.
Jeremy, Is this happening for all users that attempt to prelink or is just a few isolated cases?
Also does this happen with a newer snapshot of prelink? None of the libraries that get prelinked have any text relocations in them do they?
solar: It appears to be just with prelink. I can't verify it as I don't use prelink. Works fine for me otherwise.
Seems like stripping done by original Makefile has something to do with segfaults, removing it allowed prelink to finish its job.
Created attachment 33534 [details, diff] musepack-tools-1.15r-Makefile.patch Patch with non-trivial strip-options commented out.
in portage. thanks.
*** Bug 57921 has been marked as a duplicate of this bug. ***