报错如下:
./Modules/binascii.c: In function ‘binascii_crc32_impl.isra.8’:
./Modules/binascii.c:1346:1: error: the control flow of function ‘binascii_crc32_impl.isra.8’ does not match its profile data (counter ‘arcs’) [-Werror=coverage-mismatch]
}
^
./Modules/binascii.c:1346:1: error: the control flow of function ‘binascii_crc32_impl.isra.8’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch]
cc1: some warnings being treated as errors
make[1]: *** [Makefile:3002: Modules/binascii.o] Error 1
make[1]: Leaving directory '/usr/packages/Python-3.12.2'
make: *** [Makefile:806: profile-opt] Error 2
解决方法 :
make clean
重新编译
make