It's a GCC bug, not a Python bug: "gcc: Internal error: ...". What is your OS? What is your GCC version? How much memory do you have? Do you get the same error if you run "make" again? Try to run "gcc -pthread -c -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o" again. Do you modify MAKEFLAGS to set -j to run GCC in parallel? Usually, you can workaround GCC bugs by disabling optimizations. You can try to modify Makefile to replace "-O3" with "-O2" or even "-O0" (disable all optimizations), and then try to run "make" again. Again, it's not a Python bug, but a GCC bug, probably already fixed in a more recent
python3安装make过程出错[Objects/unicodeobject.o] Error
最新推荐文章于 2020-12-07 10:27:40 发布
在安装Python3时遇到make过程中的Objects/unicodeobject.o错误,可以尝试修改Makefile,将'-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'中的'03'改为'02',以此解决编译问题。
摘要由CSDN通过智能技术生成