Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Fix x86 Native build on Unix #7899

Merged
merged 1 commit into from
Dec 3, 2019
Merged

Conversation

am11
Copy link
Member

@am11 am11 commented Dec 2, 2019

x86 Native build (initially enabled in #4637 and #4598) is broken with the inclusion of (LLVM) libunwind, object writer and src/Native/Runtime/i386/MiscStubs.S.

This patch attempts to fill the gaps to make the Native components compile (including object writer): ./build.sh objwriter skiptests x86 (tested on Debian Stretch i386, cmake 3.13.2)

Managed components are still failing due to the lack of .NET SDK on Linux x86.

Installing dotnet cli...
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
ERROR: Could not download dotnet cli.
Please check the detailed log that follows.
Running: /home/admin/projects/corert/init-tools.sh
Installing 'https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.504/dotnet-sdk-2.1.504-linux-x86.tar.gz' to '/home/admin/projects/corert/Tools/dotnetcli/dotnet.tar'
Using CLI tools version:
ls: cannot access '/home/admin/projects/corert/buildscripts/../Tools/dotnetcli/sdk': No such file or directory
./buildscripts/build-managed.sh: line 33: /home/admin/projects/corert/buildscripts/../Tools/dotnetcli/dotnet: No such file or directory

Contributes to: #4589

@am11 am11 force-pushed the feature/i386-support branch from 8e25fcd to 021fadc Compare December 3, 2019 06:33
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jkotas jkotas merged commit 180a175 into dotnet:master Dec 3, 2019
@am11 am11 deleted the feature/i386-support branch December 3, 2019 16:43
@janvorli
Copy link
Member

Managed components are still failing due to the lack of .NET SDK on Linux x86.

How about using cross building for x86? I am not sure what is the state of cross build in general in CoreRT, it's been quite a while since I've worked in this repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants