I ran into this issue today. Its caused by android config patches especially r99494. Problem is that ppc config does not use config/linux.h instead it only used rs6000/linux.h or rs6000/linux64.h so it misses the new defines. Fix would be either copy those definitions from config/linux.h into config/rs6000/sysv4.h or include config/linux.h in powerpc-*-linux configs in config.gcc
I have cooked up this patch which fixes the issue. ** Patch added: "gcc-ppc-include-config-linux.h.patch" https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/768921/+attachment/2172488/+files/gcc-ppc-include-config-linux.h.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/768921 Title: [regression] the linaro 4.5-2011-04-0 release fails to build on powerpc To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/768921/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs