Author Saszalez
Recipients Saszalez
Date 2019-06-26.15:32:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561563167.55.0.111630694926.issue37415@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2019-06-26 15:32:47Saszalezsetrecipients: + Saszalez
2019-06-26 15:32:47Saszalezsetmessageid: <1561563167.55.0.111630694926.issue37415@roundup.psfhosted.org>
2019-06-26 15:32:47Saszalezlinkissue37415 messages
2019-06-26 15:32:47Saszalezcreate