New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 32-bit i386 ELF binaries #390

rtiainen opened this Issue May 18, 2016 · 4 comments


None yet
5 participants

rtiainen commented May 18, 2016

Currently it does not seem to be possible to execute 32-bit Linux ELF binaries in BashOnWindows environment. An attempt to execute an 32-bit ELF binary fails with the following error:

bash: ./program: cannot execute binary file: Exec format error

Adding i386 architecture to dpkg and installing i386 versions of relevant libraries (libc6, libncurses5, libstdc++6) does not help.

Generally this is not a big deal if the source of the program is available in a way or another, however, there is quite a lot of 32-bit proprietary tools that are distributed in binary-only form, and currently those are unusable within BashOnWindows.


This comment has been minimized.


stehufntdev commented May 18, 2016

Thanks for trying out WSL! Currently WSL only supports amd64 (native 64bit), and this was brought up in #228 as well.

To get this on our priority list can you add it to our UserVoice?


This comment has been minimized.

Timvrakas commented Mar 17, 2017

Could we have the message returned when 32 bit binaries are run mention this limitation. Its not a big problem but I was a head scratcher for a bit.


This comment has been minimized.

yuhong commented Jul 7, 2017

I wonder how they will deal with syscall/sysenter and the vDSO or will they just use int 80h?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment