Current master cannot be cross-compiled due to gcc breaking changes.
This patchset is a workaround for this problem until source tree is
synchronized with current NetBSD.
There is a binutils patch which I cannot add to pull request, so I link
it here: https://gist.github.com/Santurysim/1973b8f723fb36242c9558a23408d469