Summary: | sys-devel/gcc-4.8.1 can use ~2GB of RAM when preprocessing (gcc-4.7.3 uses ~100MB) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Isachenko <vortexius> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | vortexius |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Sergey Isachenko
2013-08-16 09:57:43 UTC
How is this a regression? -O2 in 4.8 enables more optimisations than -O2 in 4.7. Also, progress. (In reply to Jeroen Roovers from comment #1) > How is this a regression? -O2 in 4.8 enables more optimisations than -O2 in > 4.7. Also, progress. 1. It's a preprocessor memory consumption (note -E option), not even compiler. Compiler is fine and eats ~7MBs (there is not much to compile in bindings) 2. (actual bug) 4.7 eats 70MBs RSS, 4.8 eats 1.7G RSS (topic starter was not clear about it) > 68384maxresident)k > 1770672maxresident)k What he failed to mention is he ran -j5 on his 4GB RAM machive. Build crashed by OOM. "uses more memory" we don't really care about. every gcc version fluctuates (sometimes using more, sometimes using less). the only thing we track is excessive memory usage. 1.7GB can be considered "excessive". what package are you actually building ? the bug summary is pretty light on details. also, always post `emerge --info` in your bug reports. Created attachment 356364 [details]
emerge --info
>> what package are you actually building ? the bug summary is pretty light on details. I build botan: =dev-libs/botan-1.10.3-r1 >>also, always post `emerge --info` in your bug reports. fixed. gcc-4.9 is stable now, so throwing away older bugs we don't plan on doing backports for as this should be fixed w/4.9+. please re-open if it's still an issue with 4.9.3+ though. |