hi

when i debug varnish source code with gdb, i found  some variables showing "
*value optimized out"*
*
*
i think it should compiler optimization,and i found CFlags = " -g -O2 " in
Makefile.

so i recompiled the source code:

export CFLAGS=" -g  -O0 " && ./configure && make && make install

i check the CFlags in Makefile and found it was  CFlags = " -g -O0 ", it
seems the compilation should be success

then i debug the source code again and found those variables still showing "
*value optimized out"*
*
*
it seems strange, how to solve it?  thanks for you answer!
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to