This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2018年12月14日 18:47 by vstinner, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg331850 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年12月14日 18:47 | |
"make coverage" modifies CFLAGS and LIBS, Makefile.pre.in: coverage: @echo "Building with support for coverage checking:" $(MAKE) clean profile-removal $(MAKE) @DEF_MAKE_RULE@ CFLAGS="$(CFLAGS) -O0 -pg -fprofile-arcs -ftest-coverage" LIBS="$(LIBS) -lgcov" CFLAGS_NODIST should be used instead here. I'm not sure about LIBS: do we need LIBS_NODIST, as we have CFLAGS_NODIST? LIBS_NODIST would be used for Python and C extensions of the stdlib, but not for third-party C extensions: not used by distutils. See also bpo-35257: "Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST". |
|||
| msg361757 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年02月10日 23:57 | |
It's unclear to me if it's a real issue or not. Moreover, I'm not comfortable to change the Makefile. So I just close the issue. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:09 | admin | set | github: 79682 |
| 2020年02月10日 23:57:24 | vstinner | set | status: open -> closed resolution: out of date messages: + msg361757 stage: resolved |
| 2018年12月18日 00:52:14 | vstinner | set | title: "make coverage" should use leak coverage flags to third party C extensions -> "make coverage" should not leak coverage compiler flags to third party C extensions |
| 2018年12月14日 18:47:02 | vstinner | create | |