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

[Build] build error for windows #23166

Open
ChaoII opened this issue Dec 20, 2024 · 1 comment
Open

[Build] build error for windows #23166

ChaoII opened this issue Dec 20, 2024 · 1 comment
Labels
build build issues; typically submitted using template platform:windows issues related to the Windows platform

Comments

@ChaoII
Copy link

ChaoII commented Dec 20, 2024

Describe the issue

Assembling: D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(67) : error A2008:syntax error : ymm0
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(68) : error A2008:syntax error : ymm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(89) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(90) : error A2008:syntax error : xmm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(105) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(106) : error A2008:syntax error : xmm1

Urgency

No response

Target platform

windows 11 MSVC 2022 x64

Build script

build command:

python .\tools\ci_build\build.py ^
  --cmake_generator "Ninja" ^
  --build_dir ./target/ ^
  --config Release ^
  --parallel 16 ^
  --enable_lto ^
  --enable_msvc_static_runtime ^
  --skip_tests ^
  --skip_submodule_sync ^
  --compile_no_warning_as_error

Error / output

Assembling: D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(67) : error A2008:syntax error : ymm0
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(68) : error A2008:syntax error : ymm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(89) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(90) : error A2008:syntax error : xmm1
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(105) : error A2008:syntax error : xmm2
D:\onnxruntime\onnxruntime\core\mlas\lib\amd64\cvtfp16Avx.asm(106) : error A2008:syntax error : xmm1

Visual Studio Version

2022

GCC / Compiler Version

No response

@ChaoII ChaoII added the build build issues; typically submitted using template label Dec 20, 2024
@github-actions github-actions bot added the platform:windows issues related to the Windows platform label Dec 20, 2024
@yuslepukhin
Copy link
Member

What is the version of ORT you are seeing this? Tag, commit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template platform:windows issues related to the Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants