You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/12/30 16:47:24 UTC

DO NOT REPLY [Bug 50520] Segment fault in brigade_consume caused by header file/GCC optimization confusion - workaround is adding "-fno-strict-aliasing" to CFLAGS

https://issues.apache.org/bugzilla/show_bug.cgi?id=50520

Joel <j-...@westvi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
            Summary|Segment fault in            |Segment fault in
                   |brigade_consume caused by   |brigade_consume caused by
                   |GCC 4.5.2 compiler -        |header file/GCC
                   |closing bug but consider    |optimization confusion -
                   |avoiding 4.5.2.             |workaround is adding
                   |                            |"-fno-strict-aliasing" to
                   |                            |CFLAGS
           Severity|normal                      |major

--- Comment #6 from Joel <j-...@westvi.com> 2010-12-30 10:47:19 EST ---
This problem is indeed solved by adding -fno-strict-aliasing to CFLAGS.

(In reply to comment #5)
> (In reply to comment #4)
> > I've verified this as definitely a problem going from 4.5.1 to 4.5.2, as I
> > returned all the optimization levels back to their defaults, and the bug
> > happens with 4.5.2 compilation, not 4.5.1.
> 
> Can you please try if adding -fno-strict-aliasing to the CFLAGS fixes the
> problem even with 4.5.2 and optimization? If yes, this may be the same as bug
> 50190

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org