xmake fails to build under docker i386 image on x86_64 architecture.
This is possibly due to the fact that uname -m returns x86_64 but files are 32-bit, look at the included example.
Expected behavior
Xmake should detect it is running under i386 and build accordingly.
In particular we can see from the execution trace that it thinks to be under x86_64:
installing to /root/.local ...
plat: linux
arch: x86_64
Describe the bug
xmake fails to build under docker i386 image on x86_64 architecture. This is possibly due to the fact that
uname -m
returnsx86_64
but files are 32-bit, look at the included example.Expected behavior
Xmake should detect it is running under i386 and build accordingly. In particular we can see from the execution trace that it thinks to be under x86_64:
Additional Information
Related Environment
Please provide compiling and running environment information: