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.

Author shihai1991
Recipients corona10, shihai1991, vstinner
Date 2020-04-11.10:41:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586601683.99.0.516157578745.issue40237@roundup.psfhosted.org>
In-reply-to
Content
After `CFLAGS` replcaced by `CFLAGS_NODIST`, some extension module built failed, some info like:
*** WARNING: renaming "_struct" since importing it failed: build/lib.linux-x86_64-3.9/_struct.cpython-39-x86_64-linux-gnu.so: undefined symbol: __gcov_merge_add

the possible reason:
building '_struct' extension
gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -O0 -pg --coverage -I./Include/internal -I./Include -I. -I/usr/local/include -I/temp/shihai/cpython/Include -I/temp/shihai/cpython -c /temp/shihai/cpython/Modules/_struct.c -o build/temp.linux-x86_64-3.9/temp/shihai/cpython/Modules/_struct.o
gcc -pthread -shared (xxxxxxxxxxlacking --coverage in here xxxxxxxxx) build/temp.linux-x86_64-3.9/temp/shihai/cpython/Modules/_struct.o -L/usr/local/lib -o build/lib.linux-x86_64-3.9/_struct.cpython-39-x86_64-linux-gnu.so
History
Date User Action Args
2020-04-11 10:41:24shihai1991setrecipients: + shihai1991, vstinner, corona10
2020-04-11 10:41:23shihai1991setmessageid: <1586601683.99.0.516157578745.issue40237@roundup.psfhosted.org>
2020-04-11 10:41:23shihai1991linkissue40237 messages
2020-04-11 10:41:23shihai1991create