Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: installing using serial console and cross compiling



In article <51625A95-C854-41F4-9F8C-3CAC7A2D61C1%jeaniez.com@localhost>,
Jeanie Zick  <jeanie%jeaniez.com@localhost> wrote:
>Hi,
>
>
>On Jun 12, 2012, at 1:47 PM, David Brownlee 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]
>>> [1]  Abort trap (core dumped) build/genattrtab...
>>> *** Error code 2
>>
>> Looks like it could be out of memory. Did you try unlimiting in the
>> shell before building?
>
>This system has 128MB of ram and 768 of swap. I am not sure if that  
>is enough. I tried trying unlimit before starting the build. I still  
>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.

christos



Home | Main Index | Thread Index | Old Index