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

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 17 Apr 2008 16:01:17 -0500

Hi Michael,

On Thu, Apr 17, 2008 at 3:57 PM, Michael Lotz <mmlr@xxxxxxxx> wrote:
>  Yes that's one of the things I thought might be related. I have built
>  two images by the way (with GCC4 under BeOS) one normal and one with "-
>  fno-strict-aliasing". Both worked, both had some crashes in strlen()
>  and related functions and with both (only testing under QEMU) I
>  couldn't reproduce any of the GCC4 related bugs. The only thing
>  different I could find is that Chart refused to draw anything with the
>  normal image but worked as expected with "-fno-strict-aliasing". As
>  those are optimization problems though it is likely that they are
>  dependant on the CPU, i.e. SMP or just speed. So Rene you could try to
>  apply the patch and then rebuild. You'll have to delete the objects dir
>  or use "jam -a" though to get the effect I suppose.

Will give this a try as soon as I get home tonight.



Other related posts: