We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Debian package 3.7
x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-35c36e89.rlib g++ -O2 -Wall -Werror -g -fPIC -m64 -fno-rtti -c -o x86_64-unknown-linux-gnu/rustllvm/RustWrapper.o -I//usr//lib//llvm-3.7//include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fPIC -ffunction-sections -fdata-sections -Wcast-qual -I /usr/lib/llvm-3.7/include -I /home/sylvestre/dev/debian/rustc.git/src/rustllvm/include /home/sylvestre/dev/debian/rustc.git/src/rustllvm/RustWrapper.cpp /home/sylvestre/dev/debian/rustc.git/src/rustllvm/RustWrapper.cpp: In function ‘LLVMOpaqueValue* LLVMRustBuildLandingPad(LLVMBuilderRef, LLVMTypeRef, LLVMValueRef, unsigned int, const char*, LLVMValueRef)’: /home/sylvestre/dev/debian/rustc.git/src/rustllvm/RustWrapper.cpp:972:69: error: invalid conversion from ‘LLVMValueRef {aka LLVMOpaqueValue*}’ to ‘unsigned int’ [-fpermissive] return LLVMBuildLandingPad(Builder, Ty, PersFn, NumClauses, Name); ^ /home/sylvestre/dev/debian/rustc.git/src/rustllvm/RustWrapper.cpp:972:69: error: invalid conversion from ‘unsigned int’ to ‘const char*’ [-fpermissive] /home/sylvestre/dev/debian/rustc.git/src/rustllvm/RustWrapper.cpp:972:69: error: too many arguments to function ‘LLVMOpaqueValue* LLVMBuildLandingPad(LLVMBuilderRef, LLVMTypeRef, unsigned int, const char*)’ In file included from //usr//lib//llvm-3.7//include/llvm/IR/Value.h:17:0, from //usr//lib//llvm-3.7//include/llvm/IR/User.h:24, from //usr//lib//llvm-3.7//include/llvm/IR/Instruction.h:22, from //usr//lib//llvm-3.7//include/llvm/IR/BasicBlock.h:19, from //usr//lib//llvm-3.7//include/llvm/IR/IRBuilder.h:21, from /home/sylvestre/dev/debian/rustc.git/src/rustllvm/rustllvm.h:11, from /home/sylvestre/dev/debian/rustc.git/src/rustllvm/RustWrapper.cpp:11: //usr//lib//llvm-3.7//include/llvm-c/Core.h:2677:14: note: declared here LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, ^ /home/sylvestre/dev/debian/rustc.git/mk/rustllvm.mk:60: recipe for target 'x86_64-unknown-linux-gnu/rustllvm/RustWrapper.o' failed
Updating to 3.7.1 rc2 fixes the build. Having a version check in the configure would help.
The text was updated successfully, but these errors were encountered:
I believe this is a dupe of #29490, but thanks for the report!
Sorry, something went wrong.
pff, shame on me, i am cced on the dup and I even replied to it 👎
No branches or pull requests
Using Debian package 3.7
Updating to 3.7.1 rc2 fixes the build. Having a version check in the configure would help.
The text was updated successfully, but these errors were encountered: