Search Issue Tracker

Third Party Issue

Votes

0

Found in

2019.4

2019.4.28f1

2020.3

2021.1

2021.2

Issue ID

1342492

Regression

No

[UWP] IL2CPP ARM64 build fails on VS 16.10 with internal compiler error

IL2CPP

-

How to reproduce:
1. Open the attached "SampleProject.zip" project
2. Build to UWP
3. Open VS solution
4. Set platform/config to ARM64 + MasterWithLTCG
5. Deploy the VS solution to HoloLens 2

Expected result: The build succeeds
Actual result: The build fails with an internal compiler error

Reproducible in: 2019.4.28f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1

Full error:

1>E:\Files\case_1342492-SampleProject\New folder\Il2CppOutputProject\Source\il2cppOutput\Microsoft.Maps.Unity4.cpp(28687): fatal error C1001: Internal compiler error.
1>(compiler file 'd:\agent\_work\4\s\src\vctools\Compiler\Utc\src\p2\main.c', line 213)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>If possible please provide a repro here: https://developercommunity.visualstudio.com
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1>
1> at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
1> at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
1> at il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
1> at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
1> at il2cpp.Program.Main(String[] args)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.