Project Description

This is an effort to produce working aarch64 WSL images in https://build.opensuse.org/project/show/Virtualization:WSL.

Current aarch64 builds are using mingw gcc suite for cross-compilation that can't produce Windows aarch64 binaries. Therefore aarch64 builds end up with x86 Windows wsl-appx binaries However migw llvm can!

I'm personally using openSUSE WSL images on my Surface Pro X, but they're self-built in visual studio.

Current status: https://build.opensuse.org/project/show/home:Guillaume_G:WSL

Goal for this Hackweek

Ultimate goal is to get wsl-appx cross-complied for Windows for Arm in OBS. In order to achieve this we need to make sure that we can build required mingw packages

Current build failures: https://build.opensuse.org/project/show/home:Guillaume_G:WSL

Current status: https://build.opensuse.org/project/show/home:Guillaume_G:WSL

I'll base my work on Guillaume's progress so far in https://build.opensuse.org/project/show/home:lkocman:WSL

Resources

I'm looking for anyone who's willing to help with fixing build issues of the mingw/llvm cross-compilation stack. Anyone with decent c++ skills and interest in WSL would be highly welcome.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 20

Activity

  • over 3 years ago: ph03nix liked this project.
  • almost 4 years ago: lkocman started this project.
  • almost 4 years ago: lkocman originated this project.

  • Comments

    • lkocman
      over 3 years ago by lkocman | Reply

      re-linked and copy-packed packages from https://build.opensuse.org/package/show/home:Guillaume_G:WSL into https://build.opensuse.org/project/show/home:lkocman:WSL

    • lkocman
      over 3 years ago by lkocman | Reply

      I've limited arches only to aarch64 to save some time on iterations

    • lkocman
      over 3 years ago by lkocman | Reply

      First rebuild iteration almost done https://build.opensuse.org/project/show/home:lkocman:WSL

    • lkocman
      over 3 years ago by lkocman | Reply

      Still waiting for rebuild of llvm10 to finish

    • lkocman
      over 3 years ago by lkocman | Reply

      Building locally changes from GuillaumeG to llvm10 https://build.opensuse.org/package/revisions/home:GuillaumeG:WSL/llvm10 to supply missing requires for https://build.opensuse.org/package/show/home:lkocman:WSL/WSL-DistroLauncher

      namely: unresolvable: nothing provides mingw64-llvm-compile_rt needed by mingw64-llvm-wrapper, nothing provides mingw64-llvm-libcxx needed by mingw64-llvm-wrapper

    • lkocman
      over 3 years ago by lkocman | Reply

      I was somehow hoping that my TW wsl/aarch64 image would do the function of local builds ... however current DeveloperBuilds of Windows for Arm completely crashes a few minutes after running on osc build :-) I think I uploaded already like 10 dumps to MS

    • lkocman
      over 3 years ago by lkocman | Reply

      local x86 build is still going. if it passes I'll do SR to my home project

    Similar Projects

    This project is one of its kind!