| View previous topic :: View next topic |
| Author |
Message |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Fri Apr 13, 2012 5:51 pm Post subject: [solved] failed to emerge chromium: memory exhausted |
|
|
Im am having problems to emerge www-client/chromium-18.0.1025.151
"ld: failed to set dynamic section sizes: Memory exhausted"
I tried this already to reduce memory usage:
build-server / # cat /etc/portage/env/www-client/chromium
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -ggdb"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j1"
The box has 3GB RAM and 20GB swap.
Am I the only one having this problem? On another box with 8GB of RAM and 16GB of swap it's just running fine.
Last edited by AgBr on Sat Apr 14, 2012 3:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 29954 Location: 56N 3W
|
Posted: Fri Apr 13, 2012 9:22 pm Post subject: |
|
|
AgBr,
| Code: | | CFLAGS="-O2 -march=i686 -fomit-frame-pointer -ggdb" | thats some very odd CFLAGS.
You only have a 4G virtual address space per process on a 32 bit box, no matter how much swap/RAM you have.
There have been reports that 4G of address space is not enough for www-client/chromium _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3972 Location: Saint Amant, Acadiana
|
Posted: Fri Apr 13, 2012 9:48 pm Post subject: |
|
|
This one of 32-bit boxes on my LAN, running www-client/chromium-19.0.1084.15
| Code: | $ free
total used free shared buffers cached
Mem: 2064136 1694192 369944 0 181180 1279028
-/+ buffers/cache: 233984 1830152
Swap: 498008 50124 447884
|
Built using distcc ... _________________ Please learn how to denote units correctly! |
|
| Back to top |
|
 |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Fri Apr 13, 2012 9:52 pm Post subject: |
|
|
| NeddySeagoon wrote: | AgBr,
| Code: | | CFLAGS="-O2 -march=i686 -fomit-frame-pointer -ggdb" | thats some very odd CFLAGS.
You only have a 4G virtual address space per process on a 32 bit box, no matter how much swap/RAM you have.
There have been reports that 4G of address space is not enough for www-client/chromium |
Sorry, I should have noted that the emerge is running inside a chroot environment which builds a binary system to run on any i686 architecture, not just the box the binaries are built on (a Pentium4 HT by the way). I use two of these build-environments alternaing, as I have to be sure that I can still make configuration updates with a stable system just in case I get into trouble with an update on the other box. The second box is a Fujitsu-Siemens TX250 (double Xeon, 8GB RAM) which is running the builds fine with just the same CFLAGS. I have been building chromium on the smaller box for about two years now without any issues until some days ago. |
|
| Back to top |
|
 |
phajdan.jr Developer


Joined: 23 Mar 2006 Posts: 1740 Location: Poland
|
|
| Back to top |
|
 |
AgBr Tux's lil' helper

Joined: 06 Nov 2010 Posts: 112
|
Posted: Sat Apr 14, 2012 3:52 pm Post subject: |
|
|
Removing -ggdb did the trick. Thanks a lot |
|
| Back to top |
|
 |
|