[haiku-development] Re: Disabling Strict Aliasing for GCC4 Builds

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 17 Apr 2008 23:08:36 +0200

Andreas Färber wrote:
> 
> Am 17.04.2008 um 22:49 schrieb Ryan Leavengood:
> > On Thu, Apr 17, 2008 at 4:36 PM, Michael Lotz <mmlr@xxxxxxxx> wrote:
> >> I'd be interested in comments on that topic before applying anything 
> >> though. Is my understanding of the problem correct at all, do we care 
> >> about those optimizations and how would others suggest we move forward
> >> with that?
> >
> > I am certainly not a compiler expert and don't have the time now to 
> > research this aliasing issue, but I do recall hearing how Rene Gollent 
> > cannot get a stable Haiku on his hardware when compiling with GCC4. So 
> > it might be related to this issue or other alignment issues messing up 
> > driver code and therefore causing a crash. So until we can really dig 
> > into these issues it might be smart to go easy on the optimizations.
> 
> I have the same issue, so how/where do I disable it? :-)

With the patch that Michael included in his mail... :-D

Best regards,
-Stephan

Other related posts: