Skip to content

building llvm using msys on windows fail #23944

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 23570
Resolution FIXED
Resolved on May 19, 2015 07:59
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions