| 1 | Compiling the whole code base with "-O0" is HIGHLY recommended before running |
| 2 | stress tests. This makes the GDB backtrace accurate and without values |
| 3 | optimized out. |
| 4 | |
| 5 | Use this diff: |
| 6 | ------- |
| 7 | diff --git a/configure.ac b/configure.ac |
| 8 | index d5733b3..8bbb115 100644 |
| 9 | --- a/configure.ac |
| 10 | +++ b/configure.ac |
| 11 | @@ -285,7 +285,7 @@ AC_PROG_LEX |
| 12 | |
| 13 | AC_DEFUN([AC_PROG_BISON], [AC_CHECK_PROGS(BISON, bison, bison)]) |
| 14 | |
| 15 | -CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing" |
| 16 | +CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -O0" |
| 17 | |
| 18 | DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include - |
| 19 | ------- |