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
build-test.sh failing on ARM "Cannot create an instance of the logger." #12851
Comments
We should remove the bin logger. Although it is worth mentioning that as of today we do not support native arm/arm64 builds. We expect the product and tests to be built on x64 with a cross toolset. |
I was not aware of it. How can I verify if my local CoreCLR change is not breaking ARM? |
@adamsitnik https://github.com/dotnet/coreclr/blob/master/Documentation/building/cross-building.md is supposed to have the instructions. Do you just want to build the coreclr product and tests and run them? |
@RussKeldorph thanks for the link, it's very helpful! However, I must say that it's a little bit too complicated if you just change one thing and want to check how it affects ARM without sending a PR or using more than 1 machine. It would be great to be just able to run |
I cross build the tests for mips64r2, when run
But there is, of course, no dotnet SDK when porting CoreCLR and CoreFX to mips64r2 at the very begining. Although it is able to run single testcase like this:
Please teach me how to run tests for a new architecture. Thanks, |
@xiangzhai you can build the native components with:
Cross build the managed components on an x64 machine with:
There is a new option which will allow you to combine the two on the target machine. I will post more tomorrow. |
Please note that runtest.sh uses xunit under the hood. Therefore you will most likely want to use https://github.com/dotnet/coreclr/blob/master/tests/bringup_runtest.sh. The script will most likely need work, as it was our old test harness that is no longer in use. However, it has no managed dependencies. |
Building corefx will be required, as you will need to setup the core_root directory without restoring packages. |
/cc @MeiChin-Tsai |
Hi @jashook Thanks for your kind response!
Run
It stills try to download the dotnet SDK... Please point out my fault!
I just follow the Cross compiling for native CoreFX
And Build corefx for a new architecture
Thanks, |
@xiangzhai You should be able to safely remove the call to init-tools.sh. What branch are you working out of, I thought we removed those references? |
@xiangzhai Your issue regarding MIPS seems to be unrelated to the issue mentioned here for ARM (except both are trying to do builds on unsupported platforms). I suggest opening another issue specific to your issue. @adamsitnik says:
Yes. If someone wants to submit PRs to make this possible, we would almost certainly take them. But it's not a priority for us currently. |
We are working base on, 4 months ago master branch. Our sincere thanks will goto @jkotas @AndyAyersMS @janvorli @jashook and other developers who helped us during porting to mips64r2. We will switch to release/3.1 branch when tagged by upstream. It is still able to run single testcase before be familiar with automated regression test. |
Is it able to click New issue before MIPS64 porting merged to upstream? Thanks! |
Seems ok to me. Especially if you're just asking questions.
Why don't you work off of master? We will never take this work into release/3.1 branch. Is the work pushed to a public GitHub branch so we can see it, especially if questions are being asked? |
Thanks a lot!
We will maintain release/3.1 LTS branch and master.
/cc @theaoqi |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
This issue will now be closed since it had been marked |
Steps to reproduce:
the MSBuild logs don't exist because the logger could not be created.
The text was updated successfully, but these errors were encountered: