Closed
Description
When I try to compile https://github.com/giraffe-fsharp/Giraffe using F# compiler compiled with .NET 7.0P7 I get:
Fatal error. Internal CLR error. (0x80131506)
at Internal.Utilities.FSharpEnvironment.get_FSharpProductName()
at FSharp.Compiler.CompilerConfig+TcConfigBuilder.CreateNew(FSharp.Compiler.CodeAnalysis.LegacyReferenceResolver, System.String, ReduceMemoryFlag, System.String, Boolean, Boolean, CopyFSharpCoreFlag, Microsoft.FSharp.Core.FSharpFunc`2<System.Tuple`2<System.String,System.DateTime>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`3<System.Object,IntPtr,Int32>>>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, FSharp.Compiler.Text.Range)
at FSharp.Compiler.Driver.main1(Internal.Utilities.Library.CompilationThreadToken, System.String[], FSharp.Compiler.CodeAnalysis.LegacyReferenceResolver, Boolean, ReduceMemoryFlag, CopyFSharpCoreFlag, Exiter, DiagnosticsLoggerProvider, DisposablesTracker)
at FSharp.Compiler.Driver.CompileFromCommandLineArguments(Internal.Utilities.Library.CompilationThreadToken, System.String[], FSharp.Compiler.CodeAnalysis.LegacyReferenceResolver, Boolean, ReduceMemoryFlag, CopyFSharpCoreFlag, Exiter, DiagnosticsLoggerProvider, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<TcImports,Microsoft.FSharp.Core.Unit>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<System.Tuple`4<TcConfig,TcGlobals,System.String,ILModuleDef>,Microsoft.FSharp.Core.Unit>>)
at FSharp.Compiler.CommandLineMain.main(System.String[])
Does not reproduce when DOTNET_TieredPGO
is disabled (its default value)