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

[Arm Unix build] arm variants of System.Native.a and libSystem.Globalization.Native.a are needed for cross building tests #2739

Open
sergign60 opened this issue Feb 13, 2017 · 5 comments

Comments

@sergign60
Copy link
Contributor

sergign60 commented Feb 13, 2017

For cross building corert tests for arm architectures (see PR #2682) arm variants of System.Native.a (and libSystem.Globalization.Native.a are needed. In CoreFX System.Native.a is built from the sources. May be the same way is applicable in CoreRT also?

@jkotas
Copy link
Member

jkotas commented Feb 13, 2017

CoreRT gets System.Native.a and System.Globalization.Native.a via nuget package. They get build in CoreCLR/CoreFX repos and published from there.

@sergign60
Copy link
Contributor Author

sergign60 commented Feb 13, 2017

@jkotas Could you tell which way can I get arm versions of this libraries on Linux x64 via nuget package?

@jkotas
Copy link
Member

jkotas commented Feb 13, 2017

  • System.Globalization.Native.a is in Microsoft.NETCore.Native package
  • System.Native.a is in runtime.native.System package

I would expect that the arm builds for these packages may work same way as for other arm packages (e.g. dotnet/coreclr#8421).

In the meantime, you should be able to just build them in corefx/coreclr and copy them over where you need them.

(As you can tell from the inconsistent package names, there is some work to do to get this cleaned up.)

@sergign60
Copy link
Contributor Author

CC: @Dmitri-Botcharnikov

@sergign60
Copy link
Contributor Author

sergign60 commented Feb 14, 2017

@jkotas
yes, I did as you say, built these libraries in coreclr/corefx and copied them into corert. After this the c++version of the Hello test is linked successfully.

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

No branches or pull requests

2 participants