$ | >

Please enable WSL to run 32 bit ELF binaries

It seems that executing 32bit ELF binaries results in "Exec format error" - guessing the kernel doesn't have 32 bit emulation support (compilation is fine, but precompiled binaries don't run). A vast number of legacy programs are still 32 bit, please add support if it won't completely destroy everything in the process - thanks!

952 votes
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)

We’ll send you updates on this idea

Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

143 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Eric commented  ·   ·  Flag as inappropriate

    Also, various toolchains used for cross-compiling use 32-bit executables, preventing the use of WSL for cross-compiling/development environments.

  • Anonymous commented  ·   ·  Flag as inappropriate

    Without 32-bit applications support WSL is useless. Please consider adding this feature.

  • Anonymous commented  ·   ·  Flag as inappropriate

    It is disappointed to see such answer. WSL is a great idea and I hope that WSL can support 32 bit ELF and then I can replace virtual machine completely.

  • Anonymous commented  ·   ·  Flag as inappropriate

    Support ELF-32 binaries is not optional.. It should be support. As You are already known.. Much application still work on 32bit. I hope support 32bit binaries on WSL ASAP.

  • Anonymous commented  ·   ·  Flag as inappropriate

    This sucks, I would really have appreciated this :(
    I guess I'll have to use docker, but it defeats the purpose of using WSL...

  • Anonymous commented  ·   ·  Flag as inappropriate

    i am so disappointed by this answer. WSL seems like such an amazing concept, but fails on so many fronts. how are WE are developers expected to a use a tool that does not support a wide range of legacy tools that are out there. The rational of leaving this feature behind(unless it will completely destroy everything in the process) is mind boggling stupid. Even Windows supports 32 bit application, so why would you need do the same for this feature????

  • Anonymous commented  ·   ·  Flag as inappropriate

    +1
    Many professional products still use 32-bit libraries (for example, IBM DB2, ...). Without support for ELF-32 binaries in WSL x64, it is necessary to use other solutions such as virtual machines or containers. This represents a significant obstacle to using WSL in business!

  • Contra Studios commented  ·   ·  Flag as inappropriate

    Hey Rich, how many requests you need in order to make this 32-bit possible. It is quite clear people here need that support. I need it too. Quite disappointing to go through a whole compilation process under WSL just to get a stupid msg saying 'wrong format exec'.

  • Jim Mi commented  ·   ·  Flag as inappropriate

    ELF32 is deprecated even in linux world, i dont think its wise to support multilib on WSL, if you really need 32bit, go to RHEL which has multilib enabled by default

  • Andrew Campbell commented  ·   ·  Flag as inappropriate

    Yes, quite disappointing. But the way around this is simply to install you favorite linux directly on metal ( your hardware ), then install virtualbox for linux and then install windows 10 inside of virtualbox. It's fairly simple. Then you can run all your favorite linux and windows programs at the same time, natively in each. Once everything is installed, you can select seamless mode in virtualbox. This allows both linux and windows programs to run on the same desktop.

  • Anonymous commented  ·   ·  Flag as inappropriate

    My use case is to run 32-bit toolchains that target embedded processors. I am currently doing it in a VM but I was hoping that WSL would let me get rid of various layers of complexity. Alas.

← Previous 1 3 4 5 6 7 8

Feedback and Knowledge Base