[LLVMbugs] [Bug 23570] New: building llvm using msys on windows fail

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 19 02:31:27 PDT 2015


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

            Bug ID: 23570
           Summary: building llvm using msys on windows fail
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: tzafrir11 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

building llvm on windows under msys, fails with the below error
it seems the cause is that "type" command used for outputing a text file in
windows, is not recognized when running under msys
cat should be used instead.

[ 55%] Creating export file for LTO
/bin/sh: line 0: type: llvm\tools\lto\lto.exports: not found
tools/lto/CMakeFiles/LTO_exports.dir/build.make:51: recipe for target
`tools/lto/LTO.def' failed
make[2]: *** [tools/lto/LTO.def] Error 1
CMakeFiles/Makefile2:8030: recipe for target
`tools/lto/CMakeFiles/LTO_exports.dir/all' failed
make[1]: *** [tools/lto/CMakeFiles/LTO_exports.dir/all] Error 2
Makefile:136: recipe for target `all' failed
make: *** [all] Error 2

running make again, seems to compile fine and continue, failing later with
[ 93%] Creating export file for libclang
/usr/bin/sh: line 0: type: llvm\tools\clang\tools\libclang\libclang.exports:
not found
tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/build.make:51:
recipe for target 'tools/clang/tools/libclang/libclang.def' failed

-- 
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/20150519/300b9a6c/attachment.html>


More information about the llvm-bugs mailing list