Attempting to emerge portage in order to upgrade to profile 2005.0 I find that when emerging sandbox-1.2.10 the configure script gets as far as checking for libc and fails with the error message: checking libc path ... gawk: cmd. line:1: (FILENAME=- FNR=2) fatal: grow_iop_buffer: iop->buf: can't allocate 1073741826 bytes of memory (Cannot allocate memory) configure: error: unable to determine LIBC PATH This is running on an old AMD K6-II 66MHz Laptop. Reproducible: Always Steps to Reproduce: 1. emerge -n '>=sys-apps/portage-2.0.51' Actual Results: Got as far as checking the libc path when installing sandbox-1.2.10 then: checking libc path ... gawk: cmd. line:1: (FILENAME=- FNR=2) fatal: grow_iop_buffer: iop->buf: can't allocate 1073741826 bytes of memory (Cannot allocate memory) configure: error: unable to determine LIBC PATH Expected Results: Install a new version of portage. Old AMD K6-II 66MHz w/ 60MB RAM
Please do: $ echo "int main(void) { return 0; }" > libctest.c $ gcc -Wl,-verbose -o libctest libctest.c 2>&1 | \ gawk '/attempt to open/ { if (($4 ~ /libc\.so/) && ($5 == "succeeded")) LIBC = $4; }; END {print LIBC}'
(In reply to comment #1) > Please do: > > $ echo "int main(void) { return 0; }" > libctest.c > $ gcc -Wl,-verbose -o libctest libctest.c 2>&1 | \ > gawk '/attempt to open/ { if (($4 ~ /libc\.so/) && ($5 == "succeeded")) > LIBC = $4; }; END {print LIBC}' > gawk: cmd. line:1: (FILENAME=- FNR=2) fatal: grow_iop_buffer: iop->buf: can't allocate 1073741826 bytes of memory (Cannot allocate memory)
How much memory does it have ?
(In reply to comment #3) > How much memory does it have ? 80 MB total.
*** Bug 112941 has been marked as a duplicate of this bug. ***
Reopen if you can reproduce w/ >=sys-apps/sandbox-1.2.17; thanks.