On Wednesday, August 10, 2011 01:41:05 AM Khem Raj wrote: > On Tue, Aug 9, 2011 at 4:21 PM, Andreas Mueller <schnitzelt...@gmx.de> wrote: > > Hi > > > > I am debugging thunar to find the reason for segfault and modified the > > recipe to be compiled without optimization -O0. Now I need to step into > > shared libraries too but since they are compiled with optimization it > > causes confusing step seqences. > > > > So: How do I force -O0 optimization for whole images? > > couple of ways. Set DEBUG_BUILD = "1" in your local.conf and recompile > this will build stuff with -O1 which is better for debugging then -O2 > > otherwise you can override SELECTED_OPTIMIZATION = "whatever you want" > in local.conf > Thanks Khem. With your hook I learned that:
o Optimization-magic is found in bitbake.conf shipped by oe-core o eglibc cannot be compiled with -O0 ( complains that it needs optimization ) So I now do a rebuild with DEBUG_BUILD = "1" in local.conf. A bit off-topic: Is there a wiki for newbies like me telling howto setup environment for application/library debugging? Cheers Andreas _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core