Hi, On Thu, Mar 22, 2018 at 12:38:21PM -0500, Crim, Jason wrote: > I'm currently using ptxdist 2015.10.0 and I've selected valgrind as a > built-in option in the 'Debug Tools' using menuconfig. Valgrind is then > installed in my image at /usr/bin/valgrind. However, it is currently > not usable since the available glibc is too optimized, resulting in the > following message. [...] > Is there a method of configuring glibc to build un-optimized ( below > -O2) for use with the valgrind tool? > > Can the valgrind selection automatically trigger this un-optimized > build? > > Or, if there are other suggestions for addressing this issue, I'd like > to hear them.
The problem is not the optimization, but the missing debug symbols. With this PTXdist Version you need to use the nfsroot. The debug symbols are available there. Or you can update to the latest PTXdist and Toolchain version. Then you can enable debug packages that can be installed on the live system. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
