Created attachment 510328 [details] All files and infos regarding the error. Hello, unfortunately the build of llvm-5.0.0 stops with an errror, that the file llvm-config.h in include/llvm/Config could not be found. All files and infos are in the attached "llvm_error_infos.tar.bz2" file. Best regards, Roman Morokutti
Works for me. Perhaps was the last update not completed?
I'm really confused. The attached build.log states a completely different error: In file included from /var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/tools/lli/lli.cpp:30: /var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/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)’: /var/tmp/portage/sys-devel/llvm-5.0.0/work/llvm-5.0.0.src/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); ~~~~~~~~~~~~~~^~~~~~~~~~~ Please try upgrading sys-devel/gcc first. 4.9* is really ancient and I can no longer test that.
Ping.
I (In reply to Michał Górny from comment #3) > Ping. I have uninstalled the 4.9.4 version of gcc. When I issue "gcc-config -l" it show this: [1] x86_64-pc-linux-gnu-5.0.0-253031 [2] x86_64-pc-linux-gnu-6.4.0 * [3] x86_64-pc-linux-gnu-7.0.0 [4] x86_64-pc-linux-gnu-8.0.0 [5] x86_64-pc-linux-gnu-8.0.0_251940 [6] x86_64-pc-linux-gnu-8.0.0_252724 [7] x86_64-pc-linux-gnu-8.0.0-253268 [8] x86_64-pc-linux-gnu-8.0.0-253320 [9] x86_64-pc-linux-gnu-8.0.0-253321 [10] x86_64-pc-linux-gnu-8.0.0-253908 [11] x86_64-pc-linux-gnu-8.0.0-254296 [12] x86_64-pc-linux-gnu-8.0.0-254663 [13] x86_64-pc-linux-gnu-8.0.0-255364 I've switched to the 6.4.0 version. I am currently build llvm. I'll give a status when it's finished. Best regards, Roman
The build with the gcc version 6.4.0 did work. Thank you for your info. Best regards, Roman