FS#74577 - [gperftools] libunwind support should be enabled
Attached to Project:
Arch Linux
Opened by Tatsuyuki Ishi (ishitatsuyuki) - Thursday, 28 April 2022, 05:25 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 28 April 2022, 21:20 GMT
Opened by Tatsuyuki Ishi (ishitatsuyuki) - Thursday, 28 April 2022, 05:25 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 28 April 2022, 21:20 GMT
|
Details
Description:
gperftools has opt-in support to use libunwind for backtraces. For binaries compiled with optimization, using libunwind is essential as the fallback is frame pointer which doesn't work due as they are omitted with optimizations. This can be done easily by adding --enable-libunwind to configure flags and add the respective package dependency. To confirm that it's enabled, run `env LD_PRELOAD="/usr/lib/libtcmalloc.so" TCMALLOC_STACKTRACE_METHOD_VERBOSE=1 sleep 0`. |
This task depends upon
Closed by Antonio Rojas (arojas)
Thursday, 28 April 2022, 21:20 GMT
Reason for closing: Implemented
Additional comments about closing: gperftools 2.9.1-2
Thursday, 28 April 2022, 21:20 GMT
Reason for closing: Implemented
Additional comments about closing: gperftools 2.9.1-2