graydon/rust — Issue #1285: make on windows - mingw fails
Author: rohshall
Created: 2011-12-12 06:05:30+00:00
State: open

I am trying to build rust on mingw - windows.
make gives me this error:
make: *** No rule to make target `src/llvm/test/CodeGen/X86/fastcc-sret.ll/toy.cpp', needed by `/c/Users/salil.wadnerkar/rust/llvm/i686-pc-mingw32/Release+Asserts/bin/llvm-config'. Stop.

The complete log is here:
$ make
cfg: shell host triple i686-pc-mingw32
cfg: non host triples
cfg: host for i686-pc-mingw32 is i386
cfg: windows-y environment
cfg: using gcc
cfg: disabling valgrind due to its unreliability on this platform
cfg: no tex found, omitting doc/rust.pdf
cfg: no naturaldocs found, omitting library doc build
fetch: i686-pc-mingw32/stage0/bin/rustc.exe
determined most recent snapshot: rust-stage0-2011-12-07-3ccdd2a-winnt-i386-628f0
421557d0bd34db38acb0f5ce61d236b723d.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6317k 100 6317k 0 0 582k 0 0:00:10 0:00:10 --:--:-- 944k
got download with ok hash
opening snapshot dl\rust-stage0-2011-12-07-3ccdd2a-winnt-i386-628f0421557d0bd34d
b38acb0f5ce61d236b723d.tar.bz2
extracting i686-pc-mingw32\stage0\bin/rustc.exe
extracting i686-pc-mingw32\stage0\lib/core.dll
extracting i686-pc-mingw32\stage0\lib/ruststd.dll
extracting i686-pc-mingw32\stage0\lib/rustrt.dll
extracting i686-pc-mingw32\stage0\lib/rustllvm.dll
compile: rt/i686-pc-mingw32/sync/timer.o
compile: rt/i686-pc-mingw32/sync/sync.o
compile: rt/i686-pc-mingw32/sync/lock_and_signal.o
compile: rt/i686-pc-mingw32/rust.o
compile: rt/i686-pc-mingw32/rust_builtin.o
compile: rt/i686-pc-mingw32/rust_run_program.o
compile: rt/i686-pc-mingw32/rust_crate_cache.o
compile: rt/i686-pc-mingw32/rust_env.o
compile: rt/i686-pc-mingw32/rust_scheduler.o
compile: rt/i686-pc-mingw32/rust_task.o
compile: rt/i686-pc-mingw32/rust_task_list.o
compile: rt/i686-pc-mingw32/rust_port.o
compile: rt/i686-pc-mingw32/rust_upcall.o
compile: rt/i686-pc-mingw32/rust_uv.o
compile: rt/i686-pc-mingw32/rust_log.o
compile: rt/i686-pc-mingw32/rust_timer.o
compile: rt/i686-pc-mingw32/circular_buffer.o
compile: rt/i686-pc-mingw32/isaac/randport.o
compile: rt/i686-pc-mingw32/rust_srv.o
compile: rt/i686-pc-mingw32/rust_kernel.o
compile: rt/i686-pc-mingw32/rust_shape.o
compile: rt/i686-pc-mingw32/rust_obstack.o
compile: rt/i686-pc-mingw32/rust_gc.o
compile: rt/i686-pc-mingw32/rust_abi.o
compile: rt/i686-pc-mingw32/rust_cc.o
compile: rt/i686-pc-mingw32/rust_debug.o
compile: rt/i686-pc-mingw32/memory_region.o
compile: rt/i686-pc-mingw32/test/rust_test_harness.o
compile: rt/i686-pc-mingw32/test/rust_test_runtime.o
compile: rt/i686-pc-mingw32/test/rust_test_util.o
compile: rt/i686-pc-mingw32/arch/i386/context.o
make: *** No rule to make target `src/llvm/test/CodeGen/X86/fastcc-sret.ll/toy.c
pp', needed by `/c/Users/salil.wadnerkar/rust/llvm/i686-pc-mingw32/Release+Asser
ts/bin/llvm-config'. Stop.