Closed jwinarske closed 1 month ago
with CMake patch I get to [943/1463]
| FAILED: src/Reactor/CMakeFiles/ReactorLLVM.dir/LLVMJIT.cpp.o
| /mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot-native/usr/bin/riscv64-poky-linux/riscv64-poky-linux-clang++ --sysroot=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot -DREACTOR_ANONYMOUS_MMAP_NAME=swiftshader_jit -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot/usr/include/libdrm -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/src/Reactor/. -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/linux/include -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/include -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/lib/Target/AArch64 -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/lib/Target/ARM -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/lib/Target/Mips -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/lib/Target/PowerPC -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/lib/Target/RISCV -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/llvm/lib/Target/X86 -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/include -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/IR -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Target/AArch64 -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Target/ARM -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Target/Mips -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Target/PowerPC -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Target/RISCV -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Target/X86 -I/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/third_party/llvm-10.0/configs/common/lib/Transforms/InstCombine -target riscv64-poky-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git=/usr/src/debug/swiftshader/git -fdebug-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git=/usr/src/debug/swiftshader/git -fmacro-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/build=/usr/src/debug/swiftshader/git -fdebug-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/build=/usr/src/debug/swiftshader/git -fdebug-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot= -fmacro-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot= -fdebug-prefix-map=/mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/recipe-sysroot-native= -fvisibility-inlines-hidden -stdlib=libc++ -DNDEBUG -Os -DNDEBUG -ffunction-sections -fdata-sections -fomit-frame-pointer -std=gnu++17 -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wdeprecated-copy -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-extra-semi -Wno-unused-parameter -Wno-unknown-warning-option -DSWIFTSHADER_LOGGING_LEVEL=Info -fno-exceptions -Wthread-safety -Wno-deprecated-declarations -MD -MT src/Reactor/CMakeFiles/ReactorLLVM.dir/LLVMJIT.cpp.o -MF src/Reactor/CMakeFiles/ReactorLLVM.dir/LLVMJIT.cpp.o.d -o src/Reactor/CMakeFiles/ReactorLLVM.dir/LLVMJIT.cpp.o -c /mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/src/Reactor/LLVMJIT.cpp
| /mnt/raid10/yocto/master/visionfive2/tmp/work/riscv64-poky-linux/swiftshader/git/git/src/Reactor/LLVMJIT.cpp:801:83: error: no member named 'Create' in 'llvm::jitlink::InProcessMemoryManager'
| 801 | , objectLayer(session, llvm::cantFail(llvm::jitlink::InProcessMemoryManager::Create()))
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| 1 error generated.
this was due to llvm-10 usage. Patching to use llvm-16, build passes! https://github.com/jwinarske/meta-vulkan/pull/21