After some further digging I've found that "make check" do not see this error but "dpkg-buildpackage -tc -uc -us" does. So apparently .deb build invoke different linker or same linker with different options which in turn triggers this bug.
No idea how to track down this difference.
05.06.2015 18:19, Holger Freyther пишет:
On 05 Jun 2015, at 18:05, ☎ Max.Suraev@fairwaves.co wrote:
Hmm.. so it works on Debian but not on Ubuntu? How do I check if gold is used as linker?
it is not only gold. My first suspicion would be to put a break point in sendto and see which is executed (the system one or the overload)