Subject: [Boost-build] debug build with -g and -O0 ?
From: Manuel Dejonghe (manuel_at_[hidden])
Date: 2012-04-25 14:54:40
I am currently investigating a problem where I would need the boost
debug build to be built with "-g -O0". I ran a build with
"variant=debug" and getting clearly binaries with are bigger in size,
but my problem persist, and I wonder where I would have to check (or
modify) the b2/jam-stuff to make sure this is included.
My setup is that I wrote a unit test with boost test, and when I am
running it through (or rather with) valgrind, I still get unknown
symbols. From how I read the callstack, this clearly must be whatever
calls the API to be unit tested, hence boost test.
Or is it maybe known that the boost c++ kung-fu is so much
sophisticated that valgrind can't properly resolve the symbols ? (I
did not ask on the valgrind list yet tho)
many thanks for any pointers,
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk