Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281758 - sys-devel/gcc-4.4.* have bug with sse (and subbug vith tree-vectorizer) on x86_32
Summary: sys-devel/gcc-4.4.* have bug with sse (and subbug vith tree-vectorizer) on x8...
Status: RESOLVED DUPLICATE of bug 270120
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 12:50 UTC by Denis Kaganovich
Modified: 2009-09-06 18:51 UTC (History)
1 user (show)

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 Denis Kaganovich 2009-08-17 12:50:11 UTC
sys-devel/gcc-4.4.* have bug with sse (and subbug vith tree-vectorizer). In theory, all versions of gcc have sse-related bug, based on stack aligning. This bug mostly active with tree-vectoriser and was fixed for 4.2+ (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32893). But in 4.4+ branches this bug was reanimated by author of this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 (reanimated in other place, read history).

There are 2 (known to me) patches/solutions against this problem, published here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985
- second patch solve THIS (zlib-related) problem near regression 32893 state, but I have more stable environment with -mfpmath=sse,387 with both patches (according to comments to 40838, first patch may not solve all problems with vectorizer).

May be you are will understand more, reading this 3 upstream threads...

PS All solutions may violate SysV ABI standard. But second was alredy applyed in 4.3.*

Reproducible: Always
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2009-08-17 15:12:42 UTC

*** This bug has been marked as a duplicate of bug 270120 ***