Skip to content
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

[dotnet] MonoAotCrossCompilerPath changed to MonoAotCrossCompiler #11905

Closed
lambdageek opened this issue Jun 11, 2021 · 3 comments
Closed

[dotnet] MonoAotCrossCompilerPath changed to MonoAotCrossCompiler #11905

lambdageek opened this issue Jun 11, 2021 · 3 comments
Assignees
Labels
dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release feature A feature to be implemented
Milestone

Comments

@lambdageek
Copy link
Member

See dotnet/runtime#53685 (comment)

The runtime changed from definiing a single $(MonoAotCrossCompilerPath) property to defining an item @(MonoAotCrossCompiler) with all the cross compilers for various platforms.


Device builds fail with a message like:

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.0.100-ci.upload-download-dotnettests.8/targets/Xamarin.Shared.Sdk.targets(516,3): error : The AOT compiler '' does not exist. [/Users/alklig/work/net6-mobile-samples/HelloiOS/HelloiOS.csproj]
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this issue Jun 14, 2021
@rolfbjarne
Copy link
Member

Tentative fix, once we bump to the .NET version with this change: rolfbjarne@1e33fae

@rolfbjarne rolfbjarne added dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release feature A feature to be implemented labels Jun 14, 2021
@rolfbjarne rolfbjarne added this to the .NET 6 milestone Jun 14, 2021
@rolfbjarne rolfbjarne self-assigned this Jun 14, 2021
rolfbjarne added a commit that referenced this issue Jun 29, 2021
…11989)

* Update dependencies from https://github.com/dotnet/installer build 20210620.7

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21320.7

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* Remove unnecessary workaround.

* Update dependencies from https://github.com/dotnet/installer build 20210621.13

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21321.13

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* Fix custom step order

In response to dotnet/linker#2082

* Update dependencies from https://github.com/dotnet/installer build 20210623.1

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21323.1

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* Update dependencies from https://github.com/dotnet/installer build 20210623.12

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21323.12

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* Update dependencies from https://github.com/dotnet/installer build 20210624.1

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21324.1

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* Update dependencies from https://github.com/dotnet/installer build 20210624.9

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21324.9

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* [dotnet] Install the microsoft-net-runtime-maccatalyst workload as well.

* Update dependencies from https://github.com/dotnet/installer build 20210625.10

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21325.10

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

* [dotnet] Update our code to get the path to the AOT compiler. Fixes #11905.

* Update dependencies from https://github.com/dotnet/installer build 20210628.1

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.6.21280.2 -> To Version 6.0.100-preview.6.21328.1

Dependency coherency updates

Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21277.2 -> To Version 6.0.100-preview.6.21314.2 (parent: Microsoft.Dotnet.Sdk.Internal

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
@dotMorten
Copy link
Contributor

@rolfbjarne I'm seeing this with Preview 7. AFAIK I have the fix you added:

image

@rolfbjarne
Copy link
Member

@dotMorten AOT compilation is currently broken on Windows (with this error message), we're working on fixing it for a future release.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release feature A feature to be implemented
Projects
None yet
Development

No branches or pull requests

3 participants