classification
Title: `coverage` build target should use --coverage instead of -lgcov
Type: enhancement Stage: resolved
Components: Build Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: MaskRay, benjamin.peterson
Priority: normal Keywords: patch

Created on 2020-02-07 01:57 by MaskRay, last changed 2020-02-07 23:46 by benjamin.peterson. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 18382 merged MaskRay, 2020-02-07 01:58
Messages (2)
msg361528 - (view) Author: MaskRay (MaskRay) * Date: 2020-02-07 01:57
This allows clang to get rid of the dependency on libgcov.
When linking, GCC passes -lgcov while clang passes the path to libclang_rt.profile-$arch.a
msg361615 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-02-07 23:46
New changeset 9a978ddb93bf5eaa519916d9a40c4fa4edf5d854 by Fangrui Song in branch 'master':
closes bpo-39575: Change -lgcov to --coverage. (GH-18382)
https://github.com/python/cpython/commit/9a978ddb93bf5eaa519916d9a40c4fa4edf5d854
History
Date User Action Args
2020-02-07 23:46:33benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg361615

resolution: fixed
stage: patch review -> resolved
2020-02-07 01:58:53MaskRaysetkeywords: + patch
stage: patch review
pull_requests: + pull_request17768
2020-02-07 01:57:18MaskRaycreate