if user dos not select 'build with debug info' the default compile flag is set to -g. however this is wrong. in this case compile flag (cflags & cxxflags) must be set to -g0. I solved this problem by patch the fallowing file: package/Makefile.in: +ifneq ($(BR2_ENABLE_DEBUG),y) +TARGET_DEBUGGING=-g0 +endif ifeq ($(BR2_DEBUG_1),y) TARGET_DEBUGGING=-g1 endif ... best regards
I'm sorry but here, I don't see any -g option being added when "build with debug info" is disabled. I'm therefore marking the bug as "works for me", but if you have a specific example illustrating the problem, do not hesitate to reopen the bug and to provide more details. Thanks!