Bug 42513 - -ftree-vectorize and zlib: firefox crashes with segmentation faults on start
Summary: -ftree-vectorize and zlib: firefox crashes with segmentation faults on start
Status: RESOLVED DUPLICATE of bug 40838
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.4.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-26 21:28 UTC by Nickolay Sh
Modified: 2010-05-12 12:58 UTC (History)
11 users (show)

See Also:
Host:
Target: i?86-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nickolay Sh 2009-12-26 21:28:53 UTC
When using all O3 flags without -ftree-vectorize, all work good.
So, I think there is a trouble which can be determined by testing this option on sys-libs/zlib - package.
Comment 1 H.J. Lu 2009-12-26 21:44:23 UTC
Try adding "-mstackrealign".
Comment 2 Nickolay Sh 2009-12-26 22:01:30 UTC
(In reply to comment #1)
> Try adding "-mstackrealign".
> 

Now firefox works and does not segfaults on start and works later.
(And thunderbird works now too)

Thanks a lot! :-)
Comment 3 H.J. Lu 2009-12-26 22:19:24 UTC

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