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

Re: memory exhausted while compiling glibc2.1



>> I am trying to compile glibc2.1 on an acorn risc pc (ARM7) with 64 meg of
>> ram. the make get to what seems to be about halfway through and chokes
>> here:
>> 
>> sysdeps/../libc_pic.os: could not read symbols: Memory exhausted
>> collect2: ld returned 1 exit status
>> gcc: file path prefix `sysdeps/../csu/' never used
>
>I was able to build glibc on my NetWinder with 64MB of RAM (and 100MB
>of swap).
>
>Maybe you need to add some swap?

If you are using an a.out linker it will be limited to around 12MB of memory.  
This is probably nowhere near enough to build glibc.  I'd recommend installing 
the ELF toolset using the Debian binaries; they seem to run fine on my ARM7 
system.

p.



Reply to: