[llvm-bugs] [Bug 37486] New: lli fails to build with GCC 8

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 16 05:59:12 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37486

            Bug ID: 37486
           Summary: lli fails to build with GCC 8
           Product: libraries
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OrcJIT
          Assignee: unassignedbugs at nondot.org
          Reporter: valentin.korenblit at smile.fr
                CC: llvm-bugs at lists.llvm.org

I'm working with llvm-5.0.1.src.tar.xz, using gcc 8.1.1 under Fedora 28:

Error message:

In file included from
/home/naourr/work/instance-2/output/build/host-llvm-5.0.1/tools/lli/lli.cpp:30:
/home/naourr/work/instance-2/output/build/host-llvm-5.0.1/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:
In member function 'llvm::Expected<std::vector<char> >
llvm::orc::remote::OrcRemoteTargetClient<ChannelT>::readMem(char*,
llvm::JITTargetAddress, uint64_t)':
/home/naourr/work/instance-2/output/build/host-llvm-5.0.1/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:722:26:
error: could not convert
'((llvm::orc::remote::OrcRemoteTargetClient<ChannelT>*)this)->callB<llvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem>(Src,
Size)' from 'Expected<vector<unsigned char,allocator<unsigned char>>>' to
'Expected<vector<char,allocator<char>>>'
     return callB<ReadMem>(Src, Size);


Full log: 

http://autobuild.buildroot.net/results/824c70e982d8ec7e518cf4db058767df42db6b04/build-end.log

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180516/0a094bde/attachment.html>


More information about the llvm-bugs mailing list