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:
gcc -shared -Wl,-O1 -o sysdeps/../libc.so
-Wl,-dynamic-linker=/lib/ld-linux.so.2 -Bsysdeps/../csu/
-Wl,--version-script=sysdeps/../libc.map -Wl,-soname=libc.so.6 -nostdlib
-nostartfiles -e __libc_main -u __register_frame -L. -Lsysdeps/../math
-Lsysdeps/../elf -Lsysdeps/../nss -Lsysdeps/../nis -Lsysdeps/../db2
-Lsysdeps/../rt -Lsysdeps/../resolv -Lsysdeps/../linuxthreads
-Wl,-rpath-link=.:sysdeps/../math:sysdeps/../elf:sysdeps/../nss:sysdeps/../nis:sysdeps/../db2:sysdeps/../rt:sysdeps/../resolv:sysdeps/../linuxthreads -Wl,--whole-archive sysdeps/../elf/soinit.os sysdeps/../libc_pic.os sysdeps/../elf/sofini.os sysdeps/../elf/interp.os sysdeps/../elf/ld.so -Wl,--no-whole-archive -lgcc
sysdeps/../libc_pic.os: could not read symbols: Memory exhausted
collect2: ld returned 1 exit status
gcc: file path prefix `sysdeps/../csu/' never used
can someone recommend an incremental link or something that will take care
of this? I have tried every way I know how and I can't get it to link
libc_pic.os and libc.a ; it chokes every time. both are around 13 meg
each... Do I need more than 64 meg to do this or is there something I am
missing here? incidentally I am using binutils-2.9.1.0.16a patched with
ftp://ftp.netwinder.org/users/p/philb/binutils-2.9.1.0.19a-arm-diff-981230.gz
and egcs-1.1.2 patched with
ftp://ftp.netwinder.org/users/p/philb/egcs-1.1.2-arm-diff-990325.gz
any hints?
-Gary Schulte
Reply to: