Thanks Matthias for the self-contained testcase, it was a massive help. The problem appears to be caused by out-of-range Thumb-2 branches to a PLT entry. The linker correct redirects the branch to a stub, but it doesn't then record that the relocation has been resolved (i.e. doesn't need a dynamic counterpart).
The patch that I'm about to attach fixes the bogus error, but it looks like the error would trigger whenever these stubs are used with PLTs. I'm therefore a bit worried that the PLT/stub combination seen in these two packages might not have had much execution testing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/641126 Title: unresolvable R_ARM_THM_CALL relocation To manage notifications about this bug go to: https://bugs.launchpad.net/binutils/+bug/641126/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
