This should address the build failures seen on hppa, m68k and sh4 with the latest upload.
hppa
m68k
sh4
The failure seen on ia64 is different and will have to be investigated separately.
ia64