Fix building core C compiler.
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).
/trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 53 deletions(-)
1 Glibc does not build: asm/page.h not found
3 As of linux-2.6.25, asm/page.h is no longer exported.
4 This means the glibc up to and including 2.6 will not build against headers
5 exported from linux-2.6.25 and up. Starting with glibc-2.6.1, patches are
6 available that solves the issue. Switch to at least 2.6.1 if you can, or try
7 to backport the fix (should be quite easy).