Thank you Juergen, I tried that and it worked.

On Thu, Dec 20, 2012 at 2:57 PM, Juergen Beisert <jbe@pengutronix.de> wrote:
Hi Ruben,

Ruben Louw wrote:
> I'm trying to build the newest toolchain, and I received the following
> error:
>
> undefined reference to `ggc_realloc_stat'
> collect2: ld returned 1 exit status
> make[3]: *** [cc1] Error 1
> make[2]: *** [all-gcc] Error 2
> make[1]: *** [all] Error 2
> make: ***
> [/home/orbit/OSELAS.Toolchain-2012.12.0/platform-arm-v4t-linux-gnueabi-gcc-
>4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/state/cross-gcc-first.
>compile] Error 2
>
> I should mention that my laptop suddenly just shutdown, when it restarted,
> i ran the build again.
>
> any help is appreciated.

Due to the shutdown it seems there exists a broken object file now. You can
re-start this package with a "ptxdist clean cross-gcc-first; ptxdist go".

Regards,
Juergen

--
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |