Skip to content

Installation issue: llvm-amdgpu #3696

@davidedelvento

Description

@davidedelvento

Steps to reproduce the issue

Building llvm-amdgpu requires an assembler able to understand zen4/zen5 VNNI instructions, otherwise an error such as Error: unsupported instruction 'vpdpwssd' happens at build time.

As far as I understand the GNU assembler provided with binutils v2.38+ will be sufficient to avoid this problem, however there is no binutils dependency in this package and if one is added it must be a binutils+gas (the defaults appears to be ~gas). I suspect the maintainers have new enough systems that the OS-provided binutils suffice, and therefore this problem is silently suppressed on their machines. I have v2.35 which caused this problem to occur.

Error message

Error message
Error: unsupported instruction 'vpdpwssd'

Information on your system

This is on official spack v1.1.1 release with whatever packages are automatically installed when cloning from scratch.

Additional information

@afzpatel @haampie @renjithravindrankannath @srekolam

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions