Bug#912790: llvmlite: Please switch to llvm-toolchain-7
0.27 uses LLVM 7, although 0.27.0~rc1 doesn't build cleanly yet: g++ -shared -I/usr/lib/llvm-7/include -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -g -flto assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp executionengine.cpp transforms.cpp passmanagers.cpp targets.cpp dylib.cpp linker.cpp object_file.cpp -o libllvmlite.so -Wl,-z,relro -L/usr/lib/llvm-7/lib -flto -Wl,--exclude-libs=ALL -lLLVM-7 transforms.cpp:10:32: warning: 'unwrap' violates the C++ One Definition Rule [-Wodr] inline PassManagerBuilder *unwrap(LLVMPassManagerBuilderRef P) { ^ executionengine.cpp:53:27: note: return value type mismatch inline TargetMachine *unwrap(LLVMTargetMachineRef P) { ^ /usr/lib/llvm-7/include/llvm/Target/TargetMachine.h:59:7: note: type name 'llvm::TargetMachine' should match type name 'llvm::PassManagerBuilder' class TargetMachine { ^ /usr/lib/llvm-7/include/llvm/Transforms/IPO/PassManagerBuilder.h:59:7: note: the incompatible type is defined here class PassManagerBuilder { ^ executionengine.cpp:53:27: note: 'unwrap' was previously declared here inline TargetMachine *unwrap(LLVMTargetMachineRef P) { ^ executionengine.cpp:53:27: note: code may be misoptimized unless -fno-strict-aliasing is used /usr/bin/ld: /tmp/ccmWo70g.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `_ZTVN4llvm11raw_ostreamE@@LLVM_7' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[1]: *** [Makefile.linux:22: libllvmlite.so] Error 1 DS -- 4096R/DF5182C8 (sten...@debian.org) http://www.danielstender.com/
Bug#912790: llvmlite: Please switch to llvm-toolchain-7
got version from expanded keyword {'version': '0.26.0', 'full': 'f63f7b0b67bfc159a9cc4e6a9728c67f8c690825'} running build_ext /usr/bin/python /<>/ffi/build.py LLVM version... 7.0.1 Traceback (most recent call last): File "/<>/ffi/build.py", line 167, in main() File "/<>/ffi/build.py", line 157, in main main_posix('linux', '.so') File "/<>/ffi/build.py", line 119, in main_posix raise RuntimeError(msg) RuntimeError: Building llvmlite requires LLVM 6.0.x. Be sure to set LLVM_CONFIG to the right executable path. Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite. error: command '/usr/bin/python' failed with exit status 1 E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build -- 4096R/DF5182C8 (sten...@debian.org) http://www.danielstender.com/
Bug#912790: llvmlite: Please switch to llvm-toolchain-7
Upstream needs some time to adapt, v0.26.0rc1 (released recently): "LLVM 7 support was originally slated for this release, but had to be delayed after some issues arose in testing. LLVM 6 is still required for llvmlite." DS -- 4096R/DF5182C8 (sten...@debian.org) http://www.danielstender.com/
Bug#912790: llvmlite: Please switch to llvm-toolchain-7
Source: llvmlite Severity: normal Hello, llvm-toolchain-7 is now the default version in Debian. As part of the effort to keep the number of llvm-toolchain versions under control, it would be great if you could update to llvm-toolchain-7. Thanks, Sylvestre