Skip to content

Error running make check on Windows #15250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
schmee opened this issue Jun 29, 2014 · 4 comments
Closed

Error running make check on Windows #15250

schmee opened this issue Jun 29, 2014 · 4 comments
Labels
O-windows Operating system: Windows

Comments

@schmee
Copy link
Contributor

schmee commented Jun 29, 2014

Following the new guide in the readme for building on Windows, I run into this error:

maketest: bootstrap-from-c-with-green
----- C:/msys64/home/John/programming/forks/rustmain/rust/src/test/run-make/bootstrap-from-c-with-green/ --------------------
------ stdout ---------------------------------------------
make[1]: Entering directory '/home/John/programming/forks/rustmain/rust/src/test/run-make/bootstrap-from-c-with-green'
PATH="/home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green:C:/msys64/home/John/programming/forks/rustmain/rust/i686-pc-mingw32/stage2/bin:/mingw32/bin:/mingw32/bin:/usr/local/bin:/bin:/bin:/c/Ruby200/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x86:/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x64:/c/Python27:/c/Program Files/MATLAB/R2013a/runtime/win64:/c/Program Files/MATLAB/R2013a/bin:/c/Program Files (x86)/Git/bin:/c/Program Files (x86)/Git/cmd:/c/Python27/Scripts:/c/Program Files (x86)/ctags58:/c/Program Files (x86)/Rust/bin" C:/msys64/home/John/programming/forks/rustmain/rust/i686-pc-mingw32/stage2/bin/rustc.exe --out-dir /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green -L /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green lib.rs
ln -nsf /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green/boot-*.dll /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green/boot.dll
gcc -Wall -Werror -g -m32 -march=i686 -D_WIN32_WINNT=0x0600 -I/home/John/programming/forks/rustmain/rust/src/etc/mingw-fix-include  -L /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green main.c -o /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green/main  -lboot
PATH="/mingw32/bin:/mingw32/bin:/usr/local/bin:/bin:/bin:/c/Ruby200/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x86:/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x64:/c/Python27:/c/Program Files/MATLAB/R2013a/runtime/win64:/c/Program Files/MATLAB/R2013a/bin:/c/Program Files (x86)/Git/bin:/c/Program Files (x86)/Git/cmd:/c/Python27/Scripts:/c/Program Files (x86)/ctags58:/c/Program Files (x86)/Rust/bin:C:/msys64/home/John/programming/forks/rustmain/rust/i686-pc-mingw32/stage1/bin/rustlib/i686-pc-mingw32/lib:/home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green" /home/John/programming/forks/rustmain/rust/i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green/main
Makefile:8: recipe for target 'all' failed
make[1]: Leaving directory '/home/John/programming/forks/rustmain/rust/src/test/run-make/bootstrap-from-c-with-green'

------ stderr ---------------------------------------------
make[1]: *** [all] Error 127

------        ---------------------------------------------

/home/John/programming/forks/rustmain/rust/mk/tests.mk:990: recipe for target 'i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green-2-T-i686-pc-mingw32-H-i686-pc-mingw32.ok' failed
make: *** [i686-pc-mingw32/test/run-make/bootstrap-from-c-with-green-2-T-i686-pc-mingw32-H-i686-pc-mingw32.ok] Error 2

cc @alexcrichton

@retep998
Copy link
Member

retep998 commented Sep 5, 2014

This issue is NOT fixed. I just ran into it again using MSYS2 with a separately installed mingw-w64 on Windows 8.1 x64.

retep998@Peter-Desktop ~/rust
$ make check-fast
cfg: build triple x86_64-w64-mingw32
cfg: host triples x86_64-w64-mingw32
cfg: target triples x86_64-w64-mingw32
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-w64-mingw32 is x86_64
cfg: os for x86_64-w64-mingw32 is w64-mingw32
cfg: using CC=gcc (CFG_CC)
cfg: disabling valgrind due to its unreliability on this platform
/home/retep998/rust/mk/stage0.mk:7: warning: overriding recipe for target 'x86_64-w64-mingw32/stage0/bin/'
/home/retep998/rust/mk/stage0.mk:4: warning: ignoring old recipe for target 'x86_64-w64-mingw32/stage0/bin/'
cfg: no pdflatex found, deferring to xelatex
cfg: no xelatex found, deferring to lualatex
cfg: no lualatex found, disabling LaTeX docs
cfg: no pandoc found, omitting PDF and EPUB docs
cfg: no llnextgen found, omitting grammar-verification
cfg: including test rules
cfg: javac not available, skipping lexer test...
make: Circular /home/retep998/rust/src/libuv/libuv.a <- /home/retep998/rust/src/libuv/libuv.a dependency dropped.
maketest: bootstrap-from-c-with-green
----- /home/retep998/rust/src/test/run-make/bootstrap-from-c-with-green/ --------------------
------ stdout ---------------------------------------------
make[1]: Entering directory '/home/retep998/rust/src/test/run-make/bootstrap-from-c-with-green'
PATH="/home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green:/home/retep998/rust/x86_64-w64-mingw32/stage2/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/a/rust64/bin:/a/mingw/mingw64/bin:/a/mingw/mingw64/opt/bin:/a/cmake/bin:/a/git/bin:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/retep998/rust/x86_64-w64-mingw32/stage2/bin/rustc.exe --out-dir /home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green -L /home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green lib.rs
gcc -Wall -Werror -g -m64 -D_WIN32_WINNT=0x0600  -L /home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green main.c -o /home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green/main  -lboot
PATH="/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/a/rust64/bin:/a/mingw/mingw64/bin:/a/mingw/mingw64/opt/bin:/a/cmake/bin:/a/git/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/retep998/rust/x86_64-w64-mingw32/stage1/bin/rustlib/x86_64-w64-mingw32/lib:/home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green" /home/retep998/rust/x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green/main
Makefile:8: recipe for target 'all' failed
make[1]: Leaving directory '/home/retep998/rust/src/test/run-make/bootstrap-from-c-with-green'

------ stderr ---------------------------------------------
make[1]: *** [all] Error 127

------        ---------------------------------------------

/home/retep998/rust/mk/tests.mk:1011: recipe for target 'x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green-2-T-x86_64-w64-mingw32-H-x86_64-w64-mingw32.ok' failed
make: *** [x86_64-w64-mingw32/test/run-make/bootstrap-from-c-with-green-2-T-x86_64-w64-mingw32-H-x86_64-w64-mingw32.ok] Error 2

retep998@Peter-Desktop ~/rust
$

@sfackler sfackler reopened this Sep 5, 2014
@vadimcn
Copy link
Contributor

vadimcn commented Oct 31, 2014

libgreen is gone now, so perhaps this is fixed?

@retep998
Copy link
Member

This was merely another case of #18733.

@vadimcn
Copy link
Contributor

vadimcn commented Feb 20, 2015

@huonw, @gankro: as mentioned above, this is a dupe. Please close.

@Gankra Gankra closed this as completed Feb 20, 2015
bors added a commit to rust-lang-ci/rust that referenced this issue Aug 21, 2023
…ith-tail-expr, r=Veykril

fix: don't use control flow when extracted fn contains tail expr of original fn

Fixes rust-lang#10113
Fixes rust-lang#15061
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Operating system: Windows
Projects
None yet
Development

No branches or pull requests

6 participants