Skip to content
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

Compile failed on x86 platform with msvc , error MSB3721: The command "ml.exe ... exited with code 1. [F:\Fireice-uk\xmr-stak\build_x86\xmr-stak-asm.vcxproj] #2736

Open
qd1332543 opened this issue Oct 18, 2021 · 0 comments

Comments

@qd1332543
Copy link

The environment:
OS: Windows Server 2016 1607
CPU: AMD EPYC 7452 32-Core Processor
Compiler: msvc 14.29.30133

Describe the bug

"F:\Fireice-uk\xmr-stak\build_x86\xmr-stak.sln" (Rebuild target) (1) -> 
"F:\Fireice-uk\xmr-stak\build_x86\xmr-stak-asm.vcxproj.metaproj" (Rebuild target) (4) ->
"F:\Fireice-uk\xmr-stak\build_x86\xmr-stak-asm.vcxproj" (Rebuild target) (9) ->
(_MASM target) ->
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\BuildCustomizations\m asm.targets(70,5): error MSB3721: The command "ml.exe /c /nologo /Zi /Fo"xmr-stak-asm.dir\Release\cryptonight_v8 _main_loop.obj" /D"WIN32" /D"_WINDOWS" /D"NDEBUG" /D"CONF_NO_CUDA" /D"CONF_NO_HTTPD"  /D"CONF_NO_HWLOC" /D"GIT_COMMIT_HASH=67cf951" /D"GIT_BRANCH=master" /D"BACKEND_TYPE=amd-cpu" /D"_CRT_SECURE_NO_DEPRECATE" /D"NOMINMAX" /D"CMAKE_INTDIR="Release"" /I "F:\Fireice-uk\xmr-stak\." /I "C:\Strawberry\c\include" /I "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" /W3 /errorReport:prompt  /Ta"F:\Fireice-uk\xmr-stak\xmrstak\backend\cpu\crypto\asm\cryptonight_v8_main_loop.asm"" exited with code 1. [F:\Fireice-uk\xmr-stak\build_x86\xmr-stak-asm.vcxproj]

To Reproduce

1. git clone https://github.com/fireice-uk/xmr-stak
2. git -C "F:\Fireice-uk\xmr-stak" rev-parse --git-dir
   git -C "F:\Fireice-uk\xmr-stak" clean -xdf
   git -C "F:\Fireice-uk\xmr-stak" fetch --recurse-submodules=no --force
   git -C "F:\Fireice-uk\xmr-stak" reset --hard 67cf951
   git -C "F:\Fireice-uk\xmr-stak" remote prune origin
3. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=x86 -arch=x86
4. cmake -G "Visual Studio 16 2019" -A win32 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DCMAKE_LINK_STATIC=ON -DMICROHTTPD_ENABLE=OFF -DHWLOC_ENABLE=OFF  -DCUDA_ENABLE=OFF -DOPENSSL_ROOT_DIR="F:\tools\OpenSSL\lib" -DCMAKE_BUILD_TYPE=Release ..
5. mbuild /m /p:Platform=win32 /p:Configuration=Release xmr-stak.sln /t:Rebuild /p:BuildInParallel=true

Note: Just only repro on x86 platform
You can also check build error messages from attached file build.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant