[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: installing using serial console and cross compiling
On Jun 14, 2012, at 8:44 PM, Christos Zoulas wrote:
On Jun 14, 3:32pm, al%familysafeinternet.com@localhost (Al Zick) wrote:
| On Jun 13, 2012, at 6:23 PM, Christos Zoulas wrote:
| >>>> build/genattrtab
| >>>> /usr/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/
| >>>> rs6000.md >
| >>>> tmp-attrtab.c
| >>>> genattrtab in malloc(): error: brk(2) failed [internal error]
| >>>>  Abort trap (core dumped) build/genattrtab...
| >>>> *** Error code 2
| >>> Looks like it could be out of memory. Did you try unlimiting
| >>> shell before building?
| >> This system has 128MB of ram and 768 of swap. I am not sure if
| >> is enough. I tried trying unlimit before starting the build. I
| >> get the same error. Is there anything else that I can try?
| > Compile libc with USE_JEMALLOC=yes, and perhaps try undef'ing
| > USE_BRK in
| > it, if that fails.
| Would it be possible for you to give me a quick how-to on this?
$ echo USE_JEMALLOC=yes >> /etc/mk.conf
$ cp /lib/libc.so.12.XXX /lib/libc.so.12.XXX.old # replace XXX with
$ cd /usr/src/lib/libc
$ make USETOOLS=never clean dependall install
Thanks for the how-to. I will let you know how it goes.
Main Index |
Thread Index |