[llvm-dev] Build error for llvm 8.0.0

David Gilmore via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 24 06:13:00 PDT 2019

I have been building llvm 8.0.0 as a cross compiler for the AROS operating
system and have been stuck with this error:

-- Installing:
-- Installing:
-- Installing: /usr/lib/ocaml/llvm/llvm.mli
CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
  file INSTALL cannot copy file

  to "/usr/lib/ocaml/llvm/llvm.mli".
Call Stack (most recent call first):
  bindings/ocaml/cmake_install.cmake:42 (include)
  cmake_install.cmake:67 (include)

mmakefile:346: recipe for target
make[1]: ***
Error 1
[MMAKE] Error: Error while running make in tools/crosstools/llvm: No such
file or directory

llvm is the second program built bythe compiler llvm 8 for this project.
Why is it failing?
What log or error files should I be looking at with an llvm build?
Why is llvm (cmake) writing back the files it copied from my system?
Are write permissions really necessary to let llvm (cmake) write back these

Thank you for any help!
David Gilmore
dmgaust at gmail dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190424/3f9b835d/attachment.html>

More information about the llvm-dev mailing list