Skip to content

Instantly share code, notes, and snippets.

@abhijeetbhagat
Created September 3, 2015 20:40
Show Gist options
  • Save abhijeetbhagat/95befd346bcbbb318486 to your computer and use it in GitHub Desktop.
Save abhijeetbhagat/95befd346bcbbb318486 to your computer and use it in GitHub Desktop.
$ cargo build
Compiling llvm-sys v0.2.0
failed to run custom build command for `llvm-sys v0.2.0`
Process didn't exit successfully: `F:\code\rust\llvm-sys-test\target\debug\build\llvm-sys-a6e384430ca306ca\build-script-build` (exit code: 101)
--- stdout
Found LLVM version 3.7.0
cargo:rustc-link-search=native=C:/llvm_builddir/Debug/lib
cargo:rustc-link-lib=static=LLVMInterpreter
cargo:rustc-link-lib=static=LLVMLibDriver
cargo:rustc-link-lib=static=LLVMOption
cargo:rustc-link-lib=static=LLVMMCJIT
cargo:rustc-link-lib=static=LLVMTableGen
cargo:rustc-link-lib=static=LLVMXCoreDisassembler
cargo:rustc-link-lib=static=LLVMXCoreCodeGen
cargo:rustc-link-lib=static=LLVMXCoreDesc
cargo:rustc-link-lib=static=LLVMXCoreInfo
cargo:rustc-link-lib=static=LLVMXCoreAsmPrinter
cargo:rustc-link-lib=static=LLVMX86Disassembler
cargo:rustc-link-lib=static=LLVMX86AsmParser
cargo:rustc-link-lib=static=LLVMSystemZDisassembler
cargo:rustc-link-lib=static=LLVMSystemZCodeGen
cargo:rustc-link-lib=static=LLVMSystemZAsmParser
cargo:rustc-link-lib=static=LLVMSystemZDesc
cargo:rustc-link-lib=static=LLVMSystemZInfo
cargo:rustc-link-lib=static=LLVMSystemZAsmPrinter
cargo:rustc-link-lib=static=LLVMSparcDisassembler
cargo:rustc-link-lib=static=LLVMSparcCodeGen
cargo:rustc-link-lib=static=LLVMSparcAsmParser
cargo:rustc-link-lib=static=LLVMSparcDesc
cargo:rustc-link-lib=static=LLVMSparcInfo
cargo:rustc-link-lib=static=LLVMSparcAsmPrinter
cargo:rustc-link-lib=static=LLVMPowerPCDisassembler
cargo:rustc-link-lib=static=LLVMPowerPCCodeGen
cargo:rustc-link-lib=static=LLVMPowerPCAsmParser
cargo:rustc-link-lib=static=LLVMPowerPCDesc
cargo:rustc-link-lib=static=LLVMPowerPCInfo
cargo:rustc-link-lib=static=LLVMPowerPCAsmPrinter
cargo:rustc-link-lib=static=LLVMNVPTXCodeGen
cargo:rustc-link-lib=static=LLVMNVPTXDesc
cargo:rustc-link-lib=static=LLVMNVPTXInfo
cargo:rustc-link-lib=static=LLVMNVPTXAsmPrinter
cargo:rustc-link-lib=static=LLVMMSP430CodeGen
cargo:rustc-link-lib=static=LLVMMSP430Desc
cargo:rustc-link-lib=static=LLVMMSP430Info
cargo:rustc-link-lib=static=LLVMMSP430AsmPrinter
cargo:rustc-link-lib=static=LLVMMipsDisassembler
cargo:rustc-link-lib=static=LLVMMipsCodeGen
cargo:rustc-link-lib=static=LLVMMipsAsmParser
cargo:rustc-link-lib=static=LLVMMipsDesc
cargo:rustc-link-lib=static=LLVMMipsInfo
cargo:rustc-link-lib=static=LLVMMipsAsmPrinter
cargo:rustc-link-lib=static=LLVMHexagonDisassembler
cargo:rustc-link-lib=static=LLVMHexagonCodeGen
cargo:rustc-link-lib=static=LLVMHexagonDesc
cargo:rustc-link-lib=static=LLVMHexagonInfo
cargo:rustc-link-lib=static=LLVMCppBackendCodeGen
cargo:rustc-link-lib=static=LLVMCppBackendInfo
cargo:rustc-link-lib=static=LLVMBPFCodeGen
cargo:rustc-link-lib=static=LLVMBPFDesc
cargo:rustc-link-lib=static=LLVMBPFInfo
cargo:rustc-link-lib=static=LLVMBPFAsmPrinter
cargo:rustc-link-lib=static=LLVMARMDisassembler
cargo:rustc-link-lib=static=LLVMARMCodeGen
cargo:rustc-link-lib=static=LLVMARMAsmParser
cargo:rustc-link-lib=static=LLVMARMDesc
cargo:rustc-link-lib=static=LLVMARMInfo
cargo:rustc-link-lib=static=LLVMARMAsmPrinter
cargo:rustc-link-lib=static=LLVMAMDGPUCodeGen
cargo:rustc-link-lib=static=LLVMAMDGPUAsmParser
cargo:rustc-link-lib=static=LLVMAMDGPUUtils
cargo:rustc-link-lib=static=LLVMAMDGPUDesc
cargo:rustc-link-lib=static=LLVMAMDGPUInfo
cargo:rustc-link-lib=static=LLVMAMDGPUAsmPrinter
cargo:rustc-link-lib=static=LLVMAArch64Disassembler
cargo:rustc-link-lib=static=LLVMAArch64CodeGen
cargo:rustc-link-lib=static=LLVMAArch64AsmParser
cargo:rustc-link-lib=static=LLVMAArch64Desc
cargo:rustc-link-lib=static=LLVMAArch64Info
cargo:rustc-link-lib=static=LLVMAArch64AsmPrinter
cargo:rustc-link-lib=static=LLVMAArch64Utils
cargo:rustc-link-lib=static=LLVMMIRParser
cargo:rustc-link-lib=static=LLVMDebugInfoPDB
cargo:rustc-link-lib=static=LLVMX86CodeGen
cargo:rustc-link-lib=static=LLVMX86Desc
cargo:rustc-link-lib=static=LLVMX86Info
cargo:rustc-link-lib=static=LLVMMCDisassembler
cargo:rustc-link-lib=static=LLVMX86AsmPrinter
cargo:rustc-link-lib=static=LLVMX86Utils
cargo:rustc-link-lib=static=LLVMSelectionDAG
cargo:rustc-link-lib=static=LLVMAsmPrinter
cargo:rustc-link-lib=static=gtest_main
cargo:rustc-link-lib=static=gtest
cargo:rustc-link-lib=static=LLVMPasses
cargo:rustc-link-lib=static=LLVMLineEditor
cargo:rustc-link-lib=static=LLVMOrcJIT
cargo:rustc-link-lib=static=LLVMExecutionEngine
cargo:rustc-link-lib=static=LLVMRuntimeDyld
cargo:rustc-link-lib=static=LLVMLTO
cargo:rustc-link-lib=static=LLVMObjCARCOpts
cargo:rustc-link-lib=static=LLVMLinker
cargo:rustc-link-lib=static=LLVMipo
cargo:rustc-link-lib=static=LLVMVectorize
cargo:rustc-link-lib=static=LLVMCodeGen
cargo:rustc-link-lib=static=LLVMTarget
cargo:rustc-link-lib=static=LLVMScalarOpts
cargo:rustc-link-lib=static=LLVMProfileData
cargo:rustc-link-lib=static=LLVMInstCombine
cargo:rustc-link-lib=static=LLVMInstrumentation
cargo:rustc-link-lib=static=LLVMTransformUtils
cargo:rustc-link-lib=static=LLVMipa
cargo:rustc-link-lib=static=LLVMBitWriter
cargo:rustc-link-lib=static=LLVMAnalysis
cargo:rustc-link-lib=static=LLVMIRReader
cargo:rustc-link-lib=static=LLVMAsmParser
cargo:rustc-link-lib=static=LLVMDebugInfoDWARF
cargo:rustc-link-lib=static=LLVMObject
cargo:rustc-link-lib=static=LLVMMCParser
cargo:rustc-link-lib=static=LLVMMC
cargo:rustc-link-lib=static=LLVMBitReader
cargo:rustc-link-lib=static=LLVMCore
cargo:rustc-link-lib=static=LLVMSupport
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
CARGO_MANIFEST_DIR = Some("C:\\Users\\gs-0834\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\llvm-sys-0.2.0")
OUT_DIR = Some("F:\\code\\rust\\llvm-sys-test\\target\\debug\\build\\llvm-sys-a6e384430ca306ca\\out")
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
debug 0
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = Some("-Ic:/llvm_src/include -IC:/llvm_builddir/include /DWIN32 /D_WINDOWS -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291 -wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -
wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4800 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd420
4 -wd4324 -w14062 -we4238 /W4 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 /MP -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNIN
GS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS")
running: "gcc" "-O0" "-c" "-ffunction-sections" "-fdata-sections" "-Ic:/llvm_src/include" "-IC:/llvm_builddir/include" "/DWIN32" "/D_WINDOWS" "-wd4146" "-wd4180" "-wd4244" "
-wd4258" "-wd4267" "-wd4291" "-wd4345" "-wd4351" "-wd4355" "-wd4456" "-wd4457" "-wd4458" "-wd4459" "-wd4503" "-wd4624" "-wd4722" "-wd4800" "-wd4100" "-wd4127" "-wd4512" "-wd
4505" "-wd4610" "-wd4510" "-wd4702" "-wd4245" "-wd4706" "-wd4310" "-wd4701" "-wd4703" "-wd4389" "-wd4611" "-wd4805" "-wd4204" "-wd4324" "-w14062" "-we4238" "/W4" "/D_DEBUG"
"/MDd" "/Zi" "/Ob0" "/Od" "/RTC1" "/MP" "-D_CRT_SECURE_NO_DEPRECATE" "-D_CRT_SECURE_NO_WARNINGS" "-D_CRT_NONSTDC_NO_DEPRECATE" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_SCL_SECURE_NO
_DEPRECATE" "-D_SCL_SECURE_NO_WARNINGS" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-g" "-m64" "-fPIC" "-o" "F:\code\rust\llvm-sys-test\targ
et\debug\build\llvm-sys-a6e384430ca306ca\out\wrappers\target.o" "C:\Users\gs-0834\.cargo\registry\src\github.com-1ecc6299db9ec823\llvm-sys-0.2.0\wrappers/target.c"
failed to execute command: The system cannot find the file specified.
(os error 2)
Is `gcc` not installed? (see https://github.com/alexcrichton/gcc-rs#windows-notes for help)
--- stderr
thread '<main>' panicked at 'explicit panic', C:\Users\gs-0834\.cargo\registry\src\github.com-1ecc6299db9ec823\gcc-0.3.13\src\lib.rs:510
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment