microsoft / MIEngine

The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb.
MIT License
818 stars 218 forks source link

build failed on linux-arm #1477

Closed quanzhuo closed 1 month ago

quanzhuo commented 1 month ago

related log

 dotnet build src/MIDebugEngine-Unix.sln
  Determining projects to restore...
/home/quan/repos/MIEngine/src/OpenDebugAD7/OpenDebugAD7.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/quan/repos/MIEngine/src/MIDebugEngine-Unix.sln]
/home/quan/repos/MIEngine/src/DebugEngineHost.VSCode/DebugEngineHost.VSCode.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/quan/repos/MIEngine/src/MIDebugEngine-Unix.sln]
  All projects are up-to-date for restore.
  Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime -> /home/quan/repos/MIEngine/src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier/bin/Debug/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.dll
  MakePIAPortableTool -> /home/quan/repos/MIEngine/bin/Debug/tools/MakePIAPortableTool.dll
  MakePIAPortable -> /home/quan/repos/MIEngine/bin/Debug/PIA/MakePIAPortable.dll
  ILDAsmFileLocation: /home/quan/.nuget/packages/runtime.linux-x64.microsoft.netcore.ildasm/6.0.0/runtimes/linux-x64/native/ildasm
  ILAsmFileLocation: /home/quan/.nuget/packages/runtime.linux-x64.microsoft.netcore.ilasm/6.0.0/runtimes/linux-x64/native/ilasm
  DebugAdapterRunner -> /home/quan/repos/MIEngine/bin/DebugAdapterProtocolTests/Debug/dar.dll
  /usr/bin/sh: 2: /tmp/MSBuildTempquan/tmp7a21420c205c48b2a0bb9af792008585.exec.cmd: /home/quan/.nuget/packages/runtime.linux-x64.microsoft.netcore.ildasm/6.0.0/runtimes/linux-x64/native/ildasm: Exec format error
/home/quan/repos/MIEngine/src/MakePIAPortable/MakePIAPortable.csproj(82,5): error MSB3073: The command "/home/quan/.nuget/packages/runtime.linux-x64.microsoft.netcore.ildasm/6.0.0/runtimes/linux-x64/native/ildasm /home/quan/.nuget/packages/microsoft.visualstudio.debugger.interopa/17.5.33428.366/lib/net472/Microsoft.VisualStudio.Debugger.InteropA.dll -OUT=./drop/Microsoft.VisualStudio.Debugger.InteropA.il" exited with code 126.
  DebuggerTesting -> /home/quan/repos/MIEngine/bin/DebugAdapterProtocolTests/Debug/DebuggerTesting.dll
  CppTests -> /home/quan/repos/MIEngine/bin/DebugAdapterProtocolTests/Debug/CppTests/CppTests.dll

Build FAILED.

/home/quan/repos/MIEngine/src/OpenDebugAD7/OpenDebugAD7.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/quan/repos/MIEngine/src/MIDebugEngine-Unix.sln]
/home/quan/repos/MIEngine/src/DebugEngineHost.VSCode/DebugEngineHost.VSCode.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/quan/repos/MIEngine/src/MIDebugEngine-Unix.sln]
/home/quan/repos/MIEngine/src/MakePIAPortable/MakePIAPortable.csproj(82,5): error MSB3073: The command "/home/quan/.nuget/packages/runtime.linux-x64.microsoft.netcore.ildasm/6.0.0/runtimes/linux-x64/native/ildasm /home/quan/.nuget/packages/microsoft.visualstudio.debugger.interopa/17.5.33428.366/lib/net472/Microsoft.VisualStudio.Debugger.InteropA.dll -OUT=./drop/Microsoft.VisualStudio.Debugger.InteropA.il" exited with code 126.
    2 Warning(s)
    1 Error(s)

/home/quan/.nuget/packages/runtime.linux-x64.microsoft.netcore.ildasm/6.0.0/runtimes/linux-x64/native/ildasm: Exec format error

the build use ildasm under linux-x64, however my cpu arch is arm64.