Hi! I'm trying to build this in an ubuntu jammy docker container, and using all the default libraries from api. I hit about 90% and get:
2865.1 [ 90%] Building CXX object tools/llc/CMakeFiles/llc.dir/llc.cpp.o
2868.0 [ 90%] Linking CXX executable ../../bin/llc
2895.7 [ 90%] Built target llc
2895.7 [ 90%] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.o
2898.2 llvm::MachineBasicBlock*>]':
2898.2 /opt/dagger/include/llvm/CodeGen/SlotIndexes.h:674:27: required from here
2898.2 /opt/dagger/include/llvm/ADT/SmallVector.h:309:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<llvm::SlotIndex, llvm::MachineBasicBlock*>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
2898.2 309 | memcpy(this->end(), &Elt, sizeof(T));
2898.2 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2898.2 In file included from /usr/include/c++/11/bits/stl_algobase.h:64,
2898.2 from /usr/include/c++/11/bits/char_traits.h:39,
2898.2 from /usr/include/c++/11/string:40,
2898.2 from /usr/include/c++/11/bits/locale_classes.h:40,
2898.2 from /usr/include/c++/11/bits/ios_base.h:41,
2898.2 from /usr/include/c++/11/streambuf:41,
2898.2 from /usr/include/c++/11/bits/streambuf_iterator.h:35,
2898.2 from /usr/include/c++/11/iterator:66,
I was wondering if you might give an explicit build environment example that might fix the error? Thanks!
Hi! I'm trying to build this in an ubuntu jammy docker container, and using all the default libraries from api. I hit about 90% and get:
I was wondering if you might give an explicit build environment example that might fix the error? Thanks!