Re: Package segfaults when built with -O2 but not with -O0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Howarth wrote:
> This is weird: I can't reproduce these either locally in mock or in
> koji:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=3555838

-Wstrict-aliasing only works if -fstrict-aliasing is enabled, so if you're 
using -fno-strict-aliasing (or an optimization level below -O2 –
-fstrict-aliasing is only enabled by default at -O2, -O3 or -Os), you won't 
get the warnings.

-fno-strict-aliasing is a workaround for production builds, but it also 
sweeps the warnings under the carpet.

        Kevin Kofler

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux