You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Figure out the right way to handle stack unwinding with gperftools #834
@qiwzhang experienced an issue during the external dep build where the gperftools dep was also failing due to a local install of libunwind8. I'm not sure why it breaks with gperftools 2.5, but if we go down the route of --disable-libunwind, we might avoid this problem for other developers.
@htuch@dnoe I feel like we are kind of done with this issue since we fixed dependencies to have frame pointers. It's not perfect, but to me it's good enough. Should we keep this open? Or do we need to do the disable-libunwind thing above?
So I've fixed libunwind detection in gperftools 2.6 release candidate. But my advise would be to link with libunwind especially if you actually plan to use cpu profiler, debug allocator etc. Apparently libunwind is not abandoned and isn't that slow and has very decent chance of working in all cases.
Activity
htuch commentedon Apr 25, 2017
@alk
htuch commentedon Apr 27, 2017
@qiwzhang experienced an issue during the external dep build where the
gperftoolsdep was also failing due to a local install oflibunwind8. I'm not sure why it breaks withgperftools2.5, but if we go down the route of--disable-libunwind, we might avoid this problem for other developers.mattklein123 commentedon May 19, 2017
@htuch @dnoe I feel like we are kind of done with this issue since we fixed dependencies to have frame pointers. It's not perfect, but to me it's good enough. Should we keep this open? Or do we need to do the
disable-libunwindthing above?alk commentedon May 23, 2017
So I've fixed libunwind detection in gperftools 2.6 release candidate. But my advise would be to link with libunwind especially if you actually plan to use cpu profiler, debug allocator etc. Apparently libunwind is not abandoned and isn't that slow and has very decent chance of working in all cases.
mattklein123 commentedon Jun 9, 2017
Closing this for now via #1077. If frame pointer unwind becomes an issue for some reason in the future we can revisit.