Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-9: error: unknown argument: '-fno-semantic-interposition' when compiling #80

Closed
vedranmiletic opened this issue Feb 5, 2020 · 2 comments
Labels
build-env-issue Build environment problem

Comments

@vedranmiletic
Copy link

Trying to compile PyMOL with Clang. I'm using Manjaro stable. Running CXX=clang++ python setup.py build I get:

clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer4/Cmd.cpp -o build/temp.linux-x86_64-3.8/layer4/Cmd.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/RepSphereGenerate.cpp -o build/temp.linux-x86_64-3.8/layer2/RepSphereGenerate.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/RepSphereImmediate.cpp -o build/temp.linux-x86_64-3.8/layer2/RepSphereImmediate.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/RepSurface.cpp -o build/temp.linux-x86_64-3.8/layer2/RepSurface.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/RepWireBond.cpp -o build/temp.linux-x86_64-3.8/layer2/RepWireBond.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/Sculpt.cpp -o build/temp.linux-x86_64-3.8/layer2/Sculpt.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/SculptCache.cpp -o build/temp.linux-x86_64-3.8/layer2/SculptCache.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/SideChainHelper.cpp -o build/temp.linux-x86_64-3.8/layer2/SideChainHelper.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer2/VFont.cpp -o build/temp.linux-x86_64-3.8/layer2/VFont.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer3/AtomIterators.cpp -o build/temp.linux-x86_64-3.8/layer3/AtomIterators.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer3/CifDataValueFormatter.cpp -o build/temp.linux-x86_64-3.8/layer3/CifDataValueFormatter.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer3/Editor.cpp -o build/temp.linux-x86_64-3.8/layer3/Editor.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer4/Export.cpp -o build/temp.linux-x86_64-3.8/layer4/Export.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer4/Menu.cpp -o build/temp.linux-x86_64-3.8/layer4/Menu.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer4/PopUp.cpp -o build/temp.linux-x86_64-3.8/layer4/PopUp.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer5/PyMOL.cpp -o build/temp.linux-x86_64-3.8/layer5/PyMOL.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer5/TestPyMOL.cpp -o build/temp.linux-x86_64-3.8/layer5/TestPyMOL.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD layer5/main.cpp -o build/temp.linux-x86_64-3.8/layer5/main.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD modules/cealign/src/ccealignmodule.cpp -o build/temp.linux-x86_64-3.8/modules/cealign/src/ccealignmodule.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVContext.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVContext.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVHeap.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVHeap.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVHeapArray.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVHeapArray.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVLexicon.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVLexicon.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVOneToAny.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVOneToAny.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVOneToOne.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVOneToOne.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/OVRandom.cpp -o build/temp.linux-x86_64-3.8/ov/src/OVRandom.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -std=c++11 -fPIC -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_VMD_PLUGINS -D_HAVE_LIBXML -D_PYMOL_NO_MSGPACKC -D_PYMOL_NO_MAIN -D_PYMOL_NUMPY -Iinclude -Icontrib/uiuc/plugins/include -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -Imodules/cealign/src -Ibuild/generated -Icontrib/uiuc/plugins/molfile_plugin/src -I/usr/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/openvr -I/usr/include/python3.8 -c -MMD ov/src/ov_utility.cpp -o build/temp.linux-x86_64-3.8/ov/src/ov_utility.o -Wunused-variable -Wno-switch -Wno-narrowing -Wno-char-subscripts -ffast-math -funroll-loops -O3 -fcommon
clang++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.8/build/generated/ShaderText.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/PlugIOManagerInit.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/abinitplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/avsplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/basissetplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/bgfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/binposplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/biomoccaplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/brixplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/carplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/ccp4plugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/corplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/crdplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/cubeplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/dcdplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/dlpolyplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/dsn6plugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/dtrplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/dxplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/edmplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/fs4plugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/gamessplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/graspplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/grdplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/gridplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/gromacsplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/hash.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/inthash.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/jsplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/maeffplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/mapplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/mdfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/mol2plugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/moldenplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/molemeshplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/msmsplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/namdbinplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/netcdfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/offplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/parm7plugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/parmplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/pbeqplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/pdbplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/pdbxplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/phiplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/pltplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/plyplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/pqrplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/psfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/raster3dplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/rst7plugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/situsplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/spiderplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/stlplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/tinkerplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/uhbdplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vasp5xdatcarplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vaspchgcarplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vaspoutcarplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vaspparchgplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vaspposcarplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vaspxdatcarplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vaspxmlplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vtfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/vtkplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/xbgfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/xsfplugin.o build/temp.linux-x86_64-3.8/contrib/uiuc/plugins/molfile_plugin/src/xyzplugin.o build/temp.linux-x86_64-3.8/layer0/Block.o build/temp.linux-x86_64-3.8/layer0/Crystal.o build/temp.linux-x86_64-3.8/layer0/Deferred.o build/temp.linux-x86_64-3.8/layer0/Err.o build/temp.linux-x86_64-3.8/layer0/Feedback.o build/temp.linux-x86_64-3.8/layer0/Field.o build/temp.linux-x86_64-3.8/layer0/File.o build/temp.linux-x86_64-3.8/layer0/GenericBuffer.o build/temp.linux-x86_64-3.8/layer0/GraphicsUtil.o build/temp.linux-x86_64-3.8/layer0/Isosurf.o build/temp.linux-x86_64-3.8/layer0/Map.o build/temp.linux-x86_64-3.8/layer0/Match.o build/temp.linux-x86_64-3.8/layer0/Matrix.o build/temp.linux-x86_64-3.8/layer0/MemoryDebug.o build/temp.linux-x86_64-3.8/layer0/MyPNG.o build/temp.linux-x86_64-3.8/layer0/Parse.o build/temp.linux-x86_64-3.8/layer0/Pixmap.o build/temp.linux-x86_64-3.8/layer0/PostProcess.o build/temp.linux-x86_64-3.8/layer0/ShaderMgr.o build/temp.linux-x86_64-3.8/layer0/ShaderPrg.o build/temp.linux-x86_64-3.8/layer0/Sphere.o build/temp.linux-x86_64-3.8/layer0/Tetsurf.o build/temp.linux-x86_64-3.8/layer0/Texture.o build/temp.linux-x86_64-3.8/layer0/Tracker.o build/temp.linux-x86_64-3.8/layer0/Triangle.o build/temp.linux-x86_64-3.8/layer0/Util.o build/temp.linux-x86_64-3.8/layer0/Util2.o build/temp.linux-x86_64-3.8/layer0/Vector.o build/temp.linux-x86_64-3.8/layer0/Word.o build/temp.linux-x86_64-3.8/layer0/os_gl.o build/temp.linux-x86_64-3.8/layer1/Basis.o build/temp.linux-x86_64-3.8/layer1/ButMode.o build/temp.linux-x86_64-3.8/layer1/CGO.o build/temp.linux-x86_64-3.8/layer1/COLLADA.o build/temp.linux-x86_64-3.8/layer1/Character.o build/temp.linux-x86_64-3.8/layer1/Color.o build/temp.linux-x86_64-3.8/layer1/Control.o build/temp.linux-x86_64-3.8/layer1/Extrude.o build/temp.linux-x86_64-3.8/layer1/Font.o build/temp.linux-x86_64-3.8/layer1/FontGLUT.o build/temp.linux-x86_64-3.8/layer1/FontGLUT8x13.o build/temp.linux-x86_64-3.8/layer1/FontGLUT9x15.o build/temp.linux-x86_64-3.8/layer1/FontGLUTHel10.o build/temp.linux-x86_64-3.8/layer1/FontGLUTHel12.o build/temp.linux-x86_64-3.8/layer1/FontGLUTHel18.o build/temp.linux-x86_64-3.8/layer1/FontType.o build/temp.linux-x86_64-3.8/layer1/Movie.o build/temp.linux-x86_64-3.8/layer1/Ortho.o build/temp.linux-x86_64-3.8/layer1/P.o build/temp.linux-x86_64-3.8/layer1/PConv.o build/temp.linux-x86_64-3.8/layer1/Picking.o build/temp.linux-x86_64-3.8/layer1/Pop.o build/temp.linux-x86_64-3.8/layer1/PyMOLObject.o build/temp.linux-x86_64-3.8/layer1/Ray.o build/temp.linux-x86_64-3.8/layer1/Rep.o build/temp.linux-x86_64-3.8/layer1/Scene.o build/temp.linux-x86_64-3.8/layer1/ScenePicking.o build/temp.linux-x86_64-3.8/layer1/SceneRay.o build/temp.linux-x86_64-3.8/layer1/SceneRender.o build/temp.linux-x86_64-3.8/layer1/ScrollBar.o build/temp.linux-x86_64-3.8/layer1/Seq.o build/temp.linux-x86_64-3.8/layer1/Setting.o build/temp.linux-x86_64-3.8/layer1/Shaker.o build/temp.linux-x86_64-3.8/layer1/Symmetry.o build/temp.linux-x86_64-3.8/layer1/Text.o build/temp.linux-x86_64-3.8/layer1/TypeFace.o build/temp.linux-x86_64-3.8/layer1/View.o build/temp.linux-x86_64-3.8/layer1/Wizard.o build/temp.linux-x86_64-3.8/layer2/AssemblyHelpers.o build/temp.linux-x86_64-3.8/layer2/AtomInfo.o build/temp.linux-x86_64-3.8/layer2/AtomInfoHistory.o build/temp.linux-x86_64-3.8/layer2/BondTypeHistory.o build/temp.linux-x86_64-3.8/layer2/CifFile.o build/temp.linux-x86_64-3.8/layer2/CifMoleculeReader.o build/temp.linux-x86_64-3.8/layer2/CoordSet.o build/temp.linux-x86_64-3.8/layer2/DistSet.o build/temp.linux-x86_64-3.8/layer2/GadgetSet.o build/temp.linux-x86_64-3.8/layer2/HydrogenAdder.o build/temp.linux-x86_64-3.8/layer2/MmodTyping.o build/temp.linux-x86_64-3.8/layer2/MmtfMoleculeReader.o build/temp.linux-x86_64-3.8/layer2/Mol2Typing.o build/temp.linux-x86_64-3.8/layer2/MolV3000.o build/temp.linux-x86_64-3.8/layer2/ObjectAlignment.o build/temp.linux-x86_64-3.8/layer2/ObjectCGO.o build/temp.linux-x86_64-3.8/layer2/ObjectCallback.o build/temp.linux-x86_64-3.8/layer2/ObjectDist.o build/temp.linux-x86_64-3.8/layer2/ObjectGadget.o build/temp.linux-x86_64-3.8/layer2/ObjectGadgetRamp.o build/temp.linux-x86_64-3.8/layer2/ObjectGroup.o build/temp.linux-x86_64-3.8/layer2/ObjectMap.o build/temp.linux-x86_64-3.8/layer2/ObjectMesh.o build/temp.linux-x86_64-3.8/layer2/ObjectMolecule.o build/temp.linux-x86_64-3.8/layer2/ObjectMolecule2.o build/temp.linux-x86_64-3.8/layer2/ObjectSlice.o build/temp.linux-x86_64-3.8/layer2/ObjectSurface.o build/temp.linux-x86_64-3.8/layer2/ObjectVolume.o build/temp.linux-x86_64-3.8/layer2/RepAngle.o build/temp.linux-x86_64-3.8/layer2/RepCartoon.o build/temp.linux-x86_64-3.8/layer2/RepCylBond.o build/temp.linux-x86_64-3.8/layer2/RepDihedral.o build/temp.linux-x86_64-3.8/layer2/RepDistDash.o build/temp.linux-x86_64-3.8/layer2/RepDistLabel.o build/temp.linux-x86_64-3.8/layer2/RepDot.o build/temp.linux-x86_64-3.8/layer2/RepEllipsoid.o build/temp.linux-x86_64-3.8/layer2/RepLabel.o build/temp.linux-x86_64-3.8/layer2/RepMesh.o build/temp.linux-x86_64-3.8/layer2/RepNonbonded.o build/temp.linux-x86_64-3.8/layer2/RepNonbondedSphere.o build/temp.linux-x86_64-3.8/layer2/RepRibbon.o build/temp.linux-x86_64-3.8/layer2/RepSphere.o build/temp.linux-x86_64-3.8/layer2/RepSphereGenerate.o build/temp.linux-x86_64-3.8/layer2/RepSphereImmediate.o build/temp.linux-x86_64-3.8/layer2/RepSurface.o build/temp.linux-x86_64-3.8/layer2/RepWireBond.o build/temp.linux-x86_64-3.8/layer2/Sculpt.o build/temp.linux-x86_64-3.8/layer2/SculptCache.o build/temp.linux-x86_64-3.8/layer2/SideChainHelper.o build/temp.linux-x86_64-3.8/layer2/VFont.o build/temp.linux-x86_64-3.8/layer3/AtomIterators.o build/temp.linux-x86_64-3.8/layer3/CifDataValueFormatter.o build/temp.linux-x86_64-3.8/layer3/Editor.o build/temp.linux-x86_64-3.8/layer3/Executive.o build/temp.linux-x86_64-3.8/layer3/ExecutivePython.o build/temp.linux-x86_64-3.8/layer3/MaeExportHelpers.o build/temp.linux-x86_64-3.8/layer3/MoleculeExporter.o build/temp.linux-x86_64-3.8/layer3/MovieScene.o build/temp.linux-x86_64-3.8/layer3/PlugIOManager.o build/temp.linux-x86_64-3.8/layer3/Seeker.o build/temp.linux-x86_64-3.8/layer3/Selector.o build/temp.linux-x86_64-3.8/layer4/Cmd.o build/temp.linux-x86_64-3.8/layer4/Export.o build/temp.linux-x86_64-3.8/layer4/Menu.o build/temp.linux-x86_64-3.8/layer4/PopUp.o build/temp.linux-x86_64-3.8/layer5/PyMOL.o build/temp.linux-x86_64-3.8/layer5/TestPyMOL.o build/temp.linux-x86_64-3.8/layer5/main.o build/temp.linux-x86_64-3.8/modules/cealign/src/ccealignmodule.o build/temp.linux-x86_64-3.8/ov/src/OVContext.o build/temp.linux-x86_64-3.8/ov/src/OVHeap.o build/temp.linux-x86_64-3.8/ov/src/OVHeapArray.o build/temp.linux-x86_64-3.8/ov/src/OVLexicon.o build/temp.linux-x86_64-3.8/ov/src/OVOneToAny.o build/temp.linux-x86_64-3.8/ov/src/OVOneToOne.o build/temp.linux-x86_64-3.8/ov/src/OVRandom.o build/temp.linux-x86_64-3.8/ov/src/ov_utility.o -L/usr/lib64 -L/usr/lib -L/usr/lib -lpng -lfreetype -lxml2 -lGL -lGLEW -lnetcdf -o build/lib.linux-x86_64-3.8/pymol/_cmd.cpython-38-x86_64-linux-gnu.so
clang-9: error: unknown argument: '-fno-semantic-interposition'
error: command 'clang++' failed with exit status 1
@speleo3 speleo3 added the build-env-issue Build environment problem label Feb 5, 2020
@speleo3
Copy link
Contributor

speleo3 commented Feb 5, 2020

I have no issues building with clang-9 on Arch Linux.

That -fno-semantic-interposition flag must come from your build environment, we don't add it.

@speleo3
Copy link
Contributor

speleo3 commented Feb 25, 2020

Finally, I do get the same error on Arch Linux when compiling with Python 3.8. The flag comes from /usr/lib/python3.8/_sysconfigdata__linux_x86_64-linux-gnu.py. We will filter out that flag to make it work with clang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-env-issue Build environment problem
Projects
None yet
Development

No branches or pull requests

2 participants