eclipse-che4z / che-che4z-lsp-for-hlasm

HLASM Language Support is an LSP extension that adds support for the High Level Assembler language to IDEs
Eclipse Public License 2.0
24 stars 25 forks source link

Hlasmplugin Language Server crashes on ARM64/aarch64 linux #283

Closed josefwegner closed 1 year ago

josefwegner commented 1 year ago

Describe the bug Starting Visual Studio Code with HLASM Language Support plugin throws errors that Hlasmplugin Language Server could not be started

To Reproduce Steps to reproduce the behavior:

  1. Install HLASM Language Support v1.9.0
  2. Restart Code

Expected behavior HLASM Language Support works

Screenshots 2023-08-25-185257_1920x1080_scrot

Platform

Additional context The executable in ~/.vscode/extensions/broadcommfd.hlasm-language-support-1.9.0/bin/linux seems to be AMD64, not ARM64:

$ readelf -a language_server
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
...
slavek-kucera commented 1 year ago

Hello @josefwegner, arm64 is currently only supported via the platform agnostic webassembly server version - please change the extension setting hlasm.serverVariant to wasm and restart the vscode.

josefwegner commented 1 year ago

Hi @slavek-kucera,

Thank you very much, changing the extension settings worked. It would be great if you could add this to the README.md for future ARM users.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.10.0-beta.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.10.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

slavek-kucera commented 6 months ago

@josefwegner The version 1.13.0 now contains native arm64 binary.