[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:
/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/tools/crosstools/lib/libLLVMWindowsManifest.so.8
-- Installing:
/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/tools/crosstools/lib/libLLVMWindowsManifest.so
-- Installing: /usr/lib/ocaml/llvm/llvm.mli
CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
  file INSTALL cannot copy file

"/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/gen/host/tools/crosstools/llvm/llvm/bindings/ocaml/llvm/llvm.mli"
  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
'/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/gen/host/tools/crosstools/llvm/llvm/.installed'
failed
make[1]: ***
[/home/ridgeone/builds/aros2-bld8-clang22d/bin/linux-x86_64/gen/host/tools/crosstools/llvm/llvm/.installed]
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
files?

Thank you for any help!
-- 
Regards,
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