-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[x86/Linux] Cross building for x86 32bit on Linux #7006
Comments
@seanshpark Thanks a lot for getting the Linux x86 port started! https://github.com/dotnet/coreclr/issues/1264 has earlier discussion on this. Look for replies that contain x86 - there are some useful tidbits. |
Thanks for looping me in @jkotas @seanshpark I took the liberty of adding few more specific items that I had followed when bringing up WinArm32 build. |
Needless to say, I will be happy to help with bunch of these things. |
@seanshpark awesome! Please feel free to ping me if you have any questions or need help with solving problems with coreclr, its PAL or native parts of CoreFX. |
Wow, thanks for the support! I got lots of things to study and learn and don't think I can do this by myself by looking at the updated task items :) |
@seanshpark I just would like to share my brief investigation: I've succesfully built with your pull requests + disabled tests (with |
@lucenticus , yes, there are lots of undefined symbols to fix and @parjong is currently working on it. Thanks for the share :) . I'll be working on the SOS. |
As there will be lots of unit test fix PRs, I think it is better not to add anymore PR items related with execution fixes... :) |
@seanshpark I've tried to run native 32bit build for CoreFX (using |
@lucenticus enabling support for x86 Linux at this level should be the last step of the bringup, after everything works. It doesn't make sense to do it until you have fully functional coreclr. It is very preliminary to do it now. You can do native part of CoreFX build without it. You just need to run src/Native/build-native.sh instead of the root build.sh |
@janvorli Thanks a lot for suggestion! I'll use src/Native/build-native.sh script for that. |
@seanshpark I just did a build of CoreCLR master on Linux Mint 18 (Ubuntu 16.04 based) as |
@gkhanna79 , I use like this,
|
And for a successful build you need to apply
|
x86/Linux is now builds with repo itself and executes simple
There are several big issues to solve, such as EH and reverse P/Invoke, and now concentrating on those. |
@seanshpark it seems the skipnuget parameter is not needed, I was able to successfully build it without it. I didn't have to specify the clang3.8 either, the 3.6 was working just fine. |
This is excellent progress! :) |
thanks for the comment ! |
I would like to close this issue and move remaining tasks to each projects as building for x86/Linux looks done and unit test results are shared in dotnet/coreclr#9265. |
@seanshpark it makes sense |
I would like to enable CoreCLR for 32bit x86 Linux based on the base with current Windows x86 codes.
I'm thinking this task to be in two stages. First is to fix all build errors and then to make it work properly with unit tests. Task items to do will be added to below lists. I hope compile will be done in both 32bit host native and 64bit host cross building.
Fix build error
Fix SOS build error (lucenticus)
Fix execution error
CoreFX
For CoreCLR, CoreFX and Core-Setup repos:
Once the above is done, we should be able to produce .NET Core for Linux for x86 E2E.
The text was updated successfully, but these errors were encountered: