Skip to content

failed to build 1.21.0/onnxruntime/core/mlas: Assembler messages: Error: no such instruction: `{vex} vpdpbusds #24653

@HelcioM

Description

@HelcioM

Describe the issue

I am wondering if this is a build or container setup? Can I disable this feature so that build carry on?

Urgency

If this is just an issue with my setup than it would be great and well appreciated if someone could point me out to the solution.
Many thanks

Target platform

Linux Alma8 and Linux Arm

Build script

I just run ./build.sh --config Release --build_shared_lib --skip_submodule_sync --allow_running_as_root

Error / output

...
/tmp/ccErIxvH.s:17054: Error: no such instruction: {vex} vpdpbusds %ymm7,%ymm0,%ymm6' /tmp/ccErIxvH.s:17245: Error: no such instruction: {vex} vpdpbusds %ymm6,%ymm1,%ymm5'
/tmp/ccErIxvH.s:17262: Error: no such instruction: {vex} vpdpbusds %ymm6,%ymm1,%ymm4' /tmp/ccErIxvH.s:17293: Error: no such instruction: {vex} vpdpbusds %ymm6,%ymm1,%ymm5'
/tmp/ccErIxvH.s:17371: Error: no such instruction: {vex} vpdpbusds %ymm7,%ymm1,%ymm6' /tmp/ccErIxvH.s:17378: Error: no such instruction: {vex} vpdpbusds %ymm5,%ymm1,%ymm7'
/tmp/ccErIxvH.s:17410: Error: no such instruction: `{vex} vpdpbusds %ymm7,%ymm1,%ymm5'
gmake[2]: *** [CMakeFiles/onnxruntime_mlas.dir/build.make:976: CMakeFiles/onnxruntime_mlas.dir/root/.conan2/p/b/onnxr182e385706082/b/src/1.21.0/onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx2.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2363: CMakeFiles/onnxruntime_mlas.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

Visual Studio Version

No response

GCC / Compiler Version

11.2 and 13.2 build manually to support GLIBCXX_3.4.29 as needed by onnxruntime

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templatestaleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions