http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54504
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-09-07
08:49:14 UTC ---
>/repo/yuhuamei/mips-linux-eglibc-gnu/mips-linux/bin/ld: cannot find
> /repo/yuhuamei/mips-linux-eglibc-gnu/sysroot/lib/libc.so.6 inside
> /repo/yuhuamei/mips-linux-eglibc-gnu/sysroot
How are you configuring glibc? I think that is the problem here.
You should only configure glibc with --prefix=/usr . And then install like:
make install install_root=${MY_PREFIX}/sysroot .