Thus spake Evren Yurtesen <[EMAIL PROTECTED]>:
> I wonder if a source is compiled with -O3 without any problems, might
> there be any problems in binaries which might create crashes?

You're welcome to try it out, but it isn't supported.  GCC has a
few obscure misfeatures at -O3.  Some applications break at -O3,
usually because they violate C's aliasing rules or contain broken
inline assembly.  At one point, the kernel's TCP checksum code had
some difficult-to-solve problems with -O3, and I'm not sure
whether that has been fixed.

Despite all of that, I built world and kernel with -O2 a while ago
and noticed no problems whatsoever.  Just note that you've been
warned, and you probably won't see a significant performance
improvement anyway.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to