[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-30345: Add -g to LDFLAGS to ease debug by vstinner · Pull Request #7709 · python/cpython

the-knights-who-say-ni

When using PGO+LTO and compile without LDFLAGS=-g, gdb fails to get
function arguments: add -g to LDFLAGS to ease debug.

Only add -g if it's supported by the C compiler.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 20, 2018

Add -g to LDFLAGS when compiling with LTO to get debug symbols.
(cherry picked from commit 06fe77a)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

vstinner added a commit that referenced this pull request

Jun 22, 2018
Add -g to LDFLAGS when compiling with LTO to get debug symbols.
(cherry picked from commit 06fe77a)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

vstinner added a commit that referenced this pull request

Jun 22, 2018
Add -g to LDFLAGS when compiling with LTO to get debug symbols.

vstinner added a commit that referenced this pull request

Jun 22, 2018
Add -g to LDFLAGS when compiling with LTO to get debug symbols.