In the future, please post more information, like the name and version of the compiler and kernel you are using, the entire compilation output, etc.
I have pushed a patch that fixes it on my setup (tested x86_64 and ARM), but without knowing about your environment, I can't promise it will work on yours. Please let me know.
Sorry for about the terse description. I thought in this case it was sufficient. I started to look at it today, but see you have already fixed it. Thank you.
In the future, please post more information, like the name and version of the compiler and kernel you are using, the entire compilation output, etc.
I have pushed a patch that fixes it on my setup (tested x86_64 and ARM), but without knowing about your environment, I can't promise it will work on yours. Please let me know.