-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi there.
I try to build this package on Raspberry Pi3B with ubuntu rasp 22.04 LTS
and I get this error
VC4C/src/llvm/BitcodeReader.cpp:1045:39: error: ‘const class llvm::CallInst’ has no member named ‘getNumArgOperands’; did you mean ‘getNumOperands’?
1045 | for(unsigned i = 0; i < call->getNumArgOperands(); ++i)
| ^~~~~~~~~~~~~~~~~
| getNumOperands
/home/pi/Downloads/VC4C/src/llvm/BitcodeReader.cpp: In member function ‘vc4c::Value vc4c::llvm2qasm::BitcodeReader::toConstant(vc4c::Module&, const llvm::Value*, vc4c::Method*, vc4c::llvm2qasm::LLVMInstructionList*)’:
/VC4C/src/llvm/BitcodeReader.cpp:1420:18: warning: unused variable ‘constant’ [-Wunused-variable]
clang --version
Ubuntu clang version 14.0.0-1ubuntu1
Target: arm-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I change getNumArgOperands to getNumOperands and the compilation success but after I install all packages (VC4C,VC4CL) and run clinfo here is the output
pi@rpi3:~/Downloads/VC4CL$ clinfo
[E] Sun Jun 19 04:25:41 2022: Received signal: SIGSEGV
[E] Sun Jun 19 04:25:41 2022: (1) /usr/local/lib/libVC4CC.so.1.2 : +0xeda9c [0xb6abda9c]
[E] Sun Jun 19 04:25:41 2022: (2) /lib/arm-linux-gnueabihf/libc.so.6 : +0x2d6f0 [0xb6ded6f0]
Metadata
Metadata
Assignees
Labels
No labels