Summary: | media-gfx/imagemagick-6.7.4.0 (and .3.0) with CFLAGS=-O3 - ? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Nezic <dennisn> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap2 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dennis Nezic
2011-12-13 01:17:45 UTC
(Oh, I'm using gcc 4.5.3-r1) 1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report. Why? Does it compile with -O3 for you? (Even with gcc 4.5ish?) According to the URL, we still do not support -O3. -O3: This is the highest level of optimization possible, and also the riskiest. It will take a longer time to compile your code with this option, and in fact it should not be used system-wide with gcc 4.x. The behavior of gcc has changed significantly since version 3.x. In 3.x, -O3 has been shown to lead to marginally faster execution times over -O2, but this is no longer the case with gcc 4.x. Compiling all your packages with -O3 will result in larger binaries that require more memory, and will significantly increase the odds of compilation failure or unexpected program behavior (including errors). The downsides outweigh the benefits; remember the principle of diminishing returns. Using -O3 is not recommended for gcc 4.x. Also, according to the limited output you posted, the compiler got killed, probably because it ran out of memory to allocate. Install more RAM, use MAKEOPTS with fewer jobs, remove -pipe from your CFLAGS. But don't think there's a bug to fix here. |