Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289741 - part 1 chapter 5: pipe CFLAGS option may produce compilation failures
Summary: part 1 chapter 5: pipe CFLAGS option may produce compilation failures
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 15:01 UTC by Arthur D.
Modified: 2009-10-20 15:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur D. 2009-10-19 15:01:54 UTC
Hello. I have a host with ~750 MB of memory. There's no swap partion.
I tried to upgrade gcc to version 4.3.4 (recent stable) and got compilation failure with some kind of internal error:
xgcc: Internal error: killed (program cc1)

After digging a while I found bug reports #158805 and #256766 with same error which suggested not to use -pipe on low-memory systems. Probably, that should be mentioned in Handbook which claims pipes as "popular optimization flag".

Thank you.

Reproducible: Always

Steps to Reproduce:
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2009-10-19 16:17:14 UTC
Higher ram requirement now mentioned. Thanks for reporting.
Comment 2 Arthur D. 2009-10-20 11:06:06 UTC
Thanks for fast reply.

Please check this bug report:
https://bugs.gentoo.org/show_bug.cgi?id=256766

Look at the comment #4: the reporter had 2Gb of RAM and got compilation failure. I think 2 GB of RAM cannot be considered as "low memory". He said he had no swap partition on that particular machine.

Please consider mentioning that if the host has no swap it's better to omit the "-pipe" flag.
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2009-10-20 15:46:48 UTC
2GB is not considered low memory until you fill it all and need more.
I'll leave it as it is. We're not going to explain all corner cases.