Skip to content

[android] $(EnableLLVM) started failing in .NET 6 rc1 #57800

@jonathanpeppers

Description

@jonathanpeppers

Description

  • dotnet new android
  • dotnet build -c Release -p:RunAOTCompilation=true -p:EnableLLVM=true

Fails with:

Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\System.Runtime.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\System.Runtime.dll-llvm.o.tmp
Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\UnnamedProject.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\UnnamedProject.dll-llvm.o.tmp
Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\System.Console.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\System.Console.dll-llvm.o.tmp
Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\System.Linq.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\System.Linq.dll-llvm.o.tmp
Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\Java.Interop.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\Java.Interop.dll-llvm.o.tmp
Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\Mono.Android.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\Mono.Android.dll-llvm.o.tmp
Microsoft.Android.Sdk.Aot.targets(75,5): Precompiling failed for C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\linked\System.Private.CoreLib.dll. Could not find output file C:\src\xamarin-android\bin\TestDebug\temp\NoSymbolsArgShouldReduceAppSize\obj\Release\android-arm64\aot\System.Private.CoreLib.dll-llvm.o.tmp

Configuration

> dotnet --version
6.0.100-rc.1.21419.4

Regression?

This was working in previous builds of .NET 6 rc.1 and preview.7.

Other information

I noticed a recent change to llvm-outfile, so it could caused by: 3e3b00c

Let me know if we are doing something wrong, or if there is a workaround. Thanks!

Log: msbuild.zip

/cc @radical

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions