Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...