Fixes gcc stage 1 build (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 May 2013 19:20:56 +0000 (12:20 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 May 2013 19:20:56 +0000 (12:20 -0700)
commitf6acaf6f53c1e2267302a5a9917d24da38ef8f7d
treea29c48ecaf10841fade068ace33aac8823b75268
parent2fc6ff9e1f723e867ab2fd319982ab78e838397b
Fixes gcc stage 1 build (XCC)

We were ignoring stage1 errors, since it had made it far enough to
build glibc.  This hid other issues, like with commit ee027b (texinfo).

The temporary solution to fake libgcc_eh.a isn't much better, but at
least it doesn't hide errors.  AFAIK, stage 1 doesn't build libgcc_eh:
http://gcc.gnu.org/ml/gcc-help/2011-07/msg00309.html

Other cross-compile setups will install glibc headers first; it appears
that we're doing the cheap 'shortcut' method:
http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=2

Rebuild your cross compiler.  Remove the installation directories first,
just to be sure.
tools/compilers/gcc-glibc/Makefile