[New-bugs-announce] [issue37415] Error build Python with Intel compiler
Borja
report at bugs.python.org
Wed Jun 26 11:32:47 EDT 2019
New submission from Borja <saszalez at gmail.com>:
I'm trying to build Python 3.7 on CentOS 7 with Intel compilers. To compile I do the following:
export CC=icc
export CXX=icpc
export FC=ifort
./configure --prefix=my_prefix --enable-optimizations --without-gcc
make
make install
In the configure, no error is seen, but when I execute make, the following message is printed:
Running code to generate profile data (this can take a while):
# First, we need to create a clean build with profile generation
# enabled.
make profile-gen-stamp
make[1]: se ingresa al directorio `/home/python/source/Python-3.7.3'
Building with support for profile generation:
make build_all_generate_profile
make[2]: se ingresa al directorio `/home/python/source/Python-3.7.3'
make build_all CFLAGS_NODIST=" -prof-gen" LDFLAGS_NODIST=" -prof-gen" LIBS="-lcrypt -lpthread -ldl -lutil"
make[3]: se ingresa al directorio `/home/python/source/Python-3.7.3'
icc -pthread -c -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-cast-function-type -Werror=implicit-function-declaration -fp-model strict -prof-gen -I. -I./Include -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
icc: command line warning #10006: ignoring unknown option '-Wno-cast-function-type'
In file included from ./Include/Python.h(75),
from ./Programs/python.c(3):
./Include/pyatomic.h(39): error: identifier "atomic_uintptr_t" is undefined
atomic_uintptr_t _value;
^
compilation aborted for ./Programs/python.c (code 2)
----------
messages: 346637
nosy: Saszalez
priority: normal
severity: normal
status: open
title: Error build Python with Intel compiler
type: compile error
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37415>
_______________________________________
More information about the New-bugs-announce
mailing list