Stream: t-compiler/help

Topic: llvm build problems on older rustc commits

pnkfelix (Jun 14 2019 at 08:43, on Zulip):

In order to bisect #61402, I have been trying to build older version of rustc, namely the one at commit 2d4df9584be (circa December 2017)

pnkfelix (Jun 14 2019 at 08:43, on Zulip):

but I keep getting errors while building LLVM

pnkfelix (Jun 14 2019 at 08:44, on Zulip):

of the form (I think) OrcRemoteTargetClient.h:696: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>>>’

pnkfelix (Jun 14 2019 at 08:45, on Zulip):

is this some artifact of the version of clang I have installed locally, or something? What would other people's strategy be to deal with this?

pnkfelix (Jun 14 2019 at 09:32, on Zulip):

(well my strategy ended up being "do it on my mac instead of my linux box" ...)

Last update: Sep 27 2020 at 13:45UTC