-O2 flag

Andrea Venturoli ml at netfence.it
Mon Jun 12 15:18:07 UTC 2017


On 06/11/17 14:25, Serpent7776 wrote:

> You might want to try to:
> - rebuild with enabled compiler warning flags (-W flags)
>    https://clang.llvm.org/docs/DiagnosticsReference.html
> - rebuild with sanitizer enabled
>    https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
> - try running in debugger and find place where this error occurs

Perhaps running your (unoptimized) code under Valgrind can help find 
such an error.

  bye
	av.


More information about the freebsd-questions mailing list