well-tested compiler flags essential to gain useful backtrace(3) result#518
well-tested compiler flags essential to gain useful backtrace(3) result#518RushOnline wants to merge 1 commit intoraspberrypi:masterfrom
Conversation
|
Fine by me, provided there is little overhead. |
|
It's for debug builds only, so I see little downside. |
luked99
left a comment
There was a problem hiding this comment.
Perhaps "-Og" rather than "-O0" ?
And you don't need the -funwind-tables if you have debug information around somewhere (e.g. by adding "-g").
|
|
@RushOnline has this been resolved? |
|
@Ruffio I don't test it since I've posted this MR. May be fresh software don't have this bug. |
|
It would be nice to get this closed, if the bug doesn't persists with fresh software |
without this patch call to backtrace(3) returns zero.
Tested on RPiZ without analog/digital gain control support in ThreadX API:
Output of modified
raspistill -o /dev/null -awb off -awbg 1.56,1.78 -ex off -ag 1 -dg 1 -t 1 -vbefore and after patch:raspistillmodification (just for test, not included in this pull request):