Sorry for not posting the error log previously.
here is the error log:
Personally, I have -Werror in my working copy disabled as it produces such errors as you have mentioned. Either gcc4 fails or gcc2 fails, we can see commits which fix one or another but it's still broken ;) Just comment it out.
--