emerge -1 dev-libs/boehm-gc fails, # grep ^CFLAGS /etc/make.conf # CFLAGS='-O3 -march=pentium4 -fprefetch-loop-arrays -pipe' emerge -1 dev-libs/boehm-gc works. Seems like -funroll-loops needs to be stripped for this. See my original forum post for details on error, http://forums.gentoo.org/viewtopic-p-6022008.html#6022008 Reproducible: Always Steps to Reproduce: 1.emerge -1 dev-libs/boehm-gc
Created attachment 207732 [details] emerge --info
That looks more like, the option would make gcc consume all your memory. How much ram does this machine have?
(In reply to comment #2) > That looks more like, the option would make gcc consume all your memory. How > much ram does this machine have? > Exactly. It's running with 4G RAM and 1G of swap.
That sounds like a gcc bug.
Note, to fix this for me I created the file /etc/portage/env/dev-libs/boehm-gc with this line, CFLAGS=${CFLAGS/-funroll-loops/}
If using non-standard flags breaks things then don't use them. Give 4.3.6 or later a try.