-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Description
When running make check
on Windows 8.1 x64 with MSYS2 using the 64-bit toolchain (also tested with external mingw-w64 toolchains and alternate msys tools), I get the following error:
maketest: c-dynamic-dylib
----- A:/msys64/home/retep998/rust/src/test/run-make/c-dynamic-dylib/ --------------------
------ stdout ---------------------------------------------
make[1]: Entering directory '/home/retep998/rust/src/test/run-make/c-dynamic-dylib'
gcc -Wall -Werror -g -m64 -D_WIN32_WINNT=0x0600 -L /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib -c -o /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib/libcfoo.o cfoo.c
gcc -Wall -Werror -g -m64 -D_WIN32_WINNT=0x0600 -L /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib -o /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib/cfoo.dll /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib/libcfoo.o -shared
PATH="/A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib:/A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/stage2/bin:/mingw64/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/usr/bin:/c/WINDOWS/system32:/c/WINDOWS:/a/git/bin:/a/rust64/bin:/a/cmake/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/stage2/bin/rustc.exe --out-dir /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib -L /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib foo.rs -C prefer-dynamic
PATH="/A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib:/A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/stage2/bin:/mingw64/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/usr/bin:/c/WINDOWS/system32:/c/WINDOWS:/a/git/bin:/a/rust64/bin:/a/cmake/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/stage2/bin/rustc.exe --out-dir /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib -L /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib bar.rs
PATH="/mingw64/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/usr/bin:/c/WINDOWS/system32:/c/WINDOWS:/a/git/bin:/a/rust64/bin:/a/cmake/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/stage1/bin/rustlib/x86_64-pc-windows-gnu/lib" /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib/bar
Makefile:9: recipe for target 'all' failed
rm /A/msys64/home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib/libcfoo.o
make[1]: Leaving directory '/home/retep998/rust/src/test/run-make/c-dynamic-dylib'
------ stderr ---------------------------------------------
make[1]: *** [all] Error 127
------ ---------------------------------------------
/home/retep998/rust/mk/tests.mk:1062: recipe for target 'x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib-2-T-x86_64-pc-windows-gnu-H-x86_64-pc-windows-gnu.ok' failed
make: *** [x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib-2-T-x86_64-pc-windows-gnu-H-x86_64-pc-windows-gnu.ok] Error 2
Attempting to run the exe for that test in gdb results in a failure during startup.
(gdb) set environment PATH="/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/a/mingw/mingw64/bin:/a/git/bin:/a/rust64/bin:/a/cmake/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/retep998/rust/x86_64-pc-windows-gnu/stage1/bin/rustlib/x86_64-pc-windows-gnu/lib"
(gdb) run
Starting program: /home/retep998/rust/x86_64-pc-windows-gnu/test/run-make/c-dynamic-dylib/bar.exe
[New Thread 8140.0x20e8]
gdb: unknown target exception 0xc0000139 at 0x7ffc4401c0b4
During startup program exited with code 0xc0000139.
Metadata
Metadata
Assignees
Labels
No labels