Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running patchelf on a dynamic executable causes a segfault #110

Closed
probonopd opened this issue Dec 4, 2016 · 3 comments
Closed

Running patchelf on a dynamic executable causes a segfault #110

probonopd opened this issue Dec 4, 2016 · 3 comments

Comments

@probonopd
Copy link

As part of my linuxdeployqt build process (Travis CI log files below) I am using patchelf. However, the linuxdeployqt command does not run anymore thereafter. It just segfaults. I am attaching the binaries.

me@host:~$ file linuxdeployqt 
linuxdeployqt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=f4089ff93f4385b4789ee518c9c7a513660faf85, not stripped

me@host:~$ patchelf --print-interpreter linuxdeployqt
/lib64/ld-linux-x86-64.so.2

me@host:~$ patchelf --print-rpath linuxdeployqt
$ORIGIN/../lib/

me@host:~$ /patchelf --print-needed linuxdeployqt
libQt5Core.so.5
libpthread.so.0
libstdc++.so.6
libgcc_s.so.1
libc.so.6

Build log (stripped):
https://travis-ci.org/probonopd/linuxdeployqt/builds/181106034

Build log (unstripped):
https://travis-ci.org/probonopd/linuxdeployqt/builds/181094642
@probonopd
Copy link
Author

May be caused by #124

@domenkozar
Copy link
Member

@probonopd I'd appreciate if you can use patchelf master to confirm this is fixed.

@Mic92
Copy link
Member

Mic92 commented Nov 6, 2022

Closing because lack of feedback.

@Mic92 Mic92 closed this as completed Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants