Hello Will,
Il 10/01/2014 15:50, Will Newton ha scritto:
Thanks for the report and testcase.
The attached patch to ld may help. I am not yet sure whether or not it is the correct approach but if it works for you that would be interesting.
Thanks again for the patch. The C++ testcase indeed works when your patch is applied to binutils! (I've tested it with binutils 2.22-8 in Debian Wheezy). I'm going to try with a Qt testcase ASAP.
By the way, do you mind explaining a bit what the patch does, or just why do you think this is a binutils bug? In Qt we're considering turning -Bsymbolic off on all architectures but x86/x86-64 (to avoid this issue) [1], but we could keep ARM and disable -Bsymbolic only on "older" binutils (if your patch gets merged).
[1] https://bugreports.qt-project.org/browse/QTBUG-36129
Thanks,