Skip to content
New issue

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

Failed to build with Fedora 28 GCC 8 #5

Open
xman opened this issue Aug 5, 2018 · 1 comment
Open

Failed to build with Fedora 28 GCC 8 #5

xman opened this issue Aug 5, 2018 · 1 comment

Comments

@xman
Copy link

xman commented Aug 5, 2018

Compile error:

In file included from /home/xman/projects/tapir-meta.git/tapir/tools/lli/lli.cpp:30:
/home/xman/projects/tapir-meta.git/tapir/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h: In member function ‘llvm::Expected<std::vector > llvm::orc::remote::OrcRemoteTargetClient::readMem(char*, llvm::JITTargetAddress, uint64_t)’:
/home/xman/projects/tapir-meta.git/tapir/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:722:26: error: could not convert ‘((llvm::orc::remote::OrcRemoteTargetClient*)this)->callBllvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem(Src, Size)’ from ‘Expected<vector<unsigned char,allocator>>’ to ‘Expected<vector<char,allocator>>’
return callB(Src, Size);

@xman
Copy link
Author

xman commented Aug 5, 2018

Changing the readMem() to return this Expected<std::vector> resolves the compile error leading to successful build. I hope that doesn't break something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant