-fno-strict-aliasing

Kris Kennaway kris at obsecurity.org
Mon Feb 9 13:53:46 PST 2004


On Mon, Feb 09, 2004 at 08:11:58AM -0500, Richard Coleman wrote:
> Kris Kennaway wrote:
> 
> >On Mon, Feb 09, 2004 at 02:28:20AM -0200, Bruno T. wrote:
> >
> >>Hi everyone.
> >>i'm pretty new to bsd, but i have some background in linux development
> >>and for what i have seen until now, i must say that -CURRENT is rather 
> >>impressive, congrats !
> >>
> >>I was rebuilding my base sys and noticed that any compiler flag 
> >>that implies -fstrict-aliasing (like -O2) would break some few things,
> >>adding "-fno-strict-aliasing" to "CFLAGS+=" in these makefiles
> >>solves the problem for now.
> >
> >
> >Don't do that then :-)
> >
> >Kris
> 
> Although it's not urgent, I don't see why the aliasing problems can't be 
> fixed.  I think it would be more honest if the party line was "FreeBSD 
> has bugs, so we can't use -O2 right now" rather than the standard reply 
> of "-O2 is not supported, don't even try".

It's "don't even try unless you plan to fix them".

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040209/ea84a5e6/attachment.bin


More information about the freebsd-current mailing list