A reproducer of the problem seen in corectrl.
1. Create a simple C file "test.c" like:
int main()
{
return 0;
}
2. cc test.c
3. readelf -d a.out > /dev/null ( to confirm there is no error )
4. use patchelf - "patchelf --add-needed libm.so a.out"
5. Use debugedit - "debugedit --build-id --build-id-seed=test a.out"
6. Again check with readelf - "readelf -d a.out > /dev/null" - and this time
there will be an error "readelf: Error: no .dynamic section in the dynamic
segment".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060779
Title:
patchelf --set-soname broken on non-amd64 architectures
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/corectrl/+bug/2060779/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs