Compile time error with intel 19.0.4.243
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- cpp
- Domaine
- build-system
Piste de recherche
Commencez par boost/operators.hpp à la ligne 169 et libs/python/src/converter/registry.cpp autour de la ligne 302, puis reproduisez l’échec avec Intel icpc 19.0.4.243 et la commande C++11 indiquée. Examinez le diagnostic constexpr du compilateur et déterminez une modification de compatibilité ou une limitation de version prise en charge permettant de compiler Boost.Python.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I suspect the compiler is at fault, but still:
intel-linux.compile.c++ bin.v2/libs/python/build/intel-linux/release/python-3.6/threading-multi/visibility-hidden/converter/registry.o
./boost/operators.hpp(169): error #3377: constexpr function return is non-constant
friend BOOST_OPERATORS_CONSTEXPR bool operator!=(const T& x, const T& y) { return !static_cast<bool>(x == y); }
^
detected during instantiation of class "boost::operators_impl::equality_comparable1<T, B> [with T=boost::python::type_info, B=boost::operators_impl::operators_detail::empty_base<boost::python::type_
info>]" at line 302 of "libs/python/src/converter/registry.cpp"
compilation aborted for libs/python/src/converter/registry.cpp (code 2)
"icpc" -c -xc++ -fvisibility-inlines-hidden -fPIC -m64 -pthread -fvisibility=hidden -w1 -inline-level=2 -O3 -ip -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/opt/software/occige
n/tools/intelpython3/2019.3/intelpython3/include/python3.6m" -c -o "bin.v2/libs/python/build/intel-linux/release/python-3.6/threading-multi/visibility-hidden/converter/registry.o" "libs/python/src/converter
/registry.cpp"
...failed intel-linux.compile.c++ bin.v2/libs/python/build/intel-linux/release/python-3.6/threading-multi/visibility-hidden/converter/registry.o...
Thanks
- Langage dominant
- C++
- Étoiles
- 537
- Forks
- 223
- Merge moyen
- 11 h 22 min
- PR mergées (30 j)
- 2
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de boostorg/python
-
numpy::from_data calls vector::front and crashes (or has UB) when called with a scalar object Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 84/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Toutes les issues de boostorg/python
Issues similaires
-
ai_reviewed
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
ydb-platform/ydb#53869 · 3 commentaires ·
-
bug cert blocker needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Ouverteupstream update
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
vllm-project/vllm-ascend#17329 ·