相关疑难解决方法(0)

在Debian上编译Python 3.6.2在sharedmods上使用段塞故障

我正在尝试使用选项在Debian Jessie框上编译Python 3.6.2

./configure --prefix="/opt/python3" \
--enable-optimizations \
 --with-lto \
--enable-profiling \
--enable-unicode=ucs4 \
--with-system-expat \
--with-threads \
--with-system-ffi \
'CFLAGS=-D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security ' \
'LDFLAGS=-Wl,-z,relro'
Run Code Online (Sandbox Code Playgroud)

但是我在共享模块的构建上遇到了分段错误:

renaming build/scripts-3.6/pyvenv to build/scripts-3.6/pyvenv-3.6
Segmentation fault
Makefile:586: recipe for target 'sharedmods' failed
make[2]: *** [sharedmods] Error 139
Run Code Online (Sandbox Code Playgroud)

有什么想法发生了什么?

python debian

6
推荐指数
1
解决办法
1094
查看次数

标签 统计

debian ×1

python ×1