Skip to content

[Wasm][AOT] The AOT compiler fails silently when running on Windows #57141

@jeromelaban

Description

@jeromelaban

Description

The AOT compiler stops working at an unknown location, without any error message.

aot-issue-assets.zip

Here's how to reproduce it:

cd extracted_archive
runtimes\browser-wasm/native/cross/browser-wasm/mono-aot-cross.exe --debug -v  -O=gsharedvt --aot=dedup-skip,llvmonly,asmonly,no-opt,static,direct-icalls,deterministic,nodebug,llvm-path="[...]\emsdk-2.0.23\emsdk/upstream/bin",interp,,depfile=./linker-out/Uno.UI.FluentTheme.dll.depfile,llvm-outfile=./Uno.UI.FluentTheme.dll.bc.tmp .\linker-out\Uno.UI.FluentTheme.dll

With -v, the last two output lines are:

rySingleton__2__Get_2_5287b__959_0_Windows_UI_Xaml_Media_SolidColorBrush
converting llvm method void Uno.UI.FluentTheme.GlobalStaticResources/ResourceDictionarySingleton__2:<Get_2_5288>b__960_0 (Windows.UI.Xaml.Media.SolidColorBrush)
void Uno.UI.FluentTheme.GlobalStaticResources/ResourceDictionarySingleton__2:<Get_2_5288>b__960_0 (Windows.UI.Xaml.Media.SolidColorBrush) emitted as Uno_UI_FluentTheme_Uno_UI_FluentTheme_GlobalStaticResources_ResourceDictionarySingleton__2__Get_2_5288b__960_0_Windows_UI_Xaml_Media_SolidColorBrush
converting llvm method object Uno.UI.FluentTheme.GlobalStaticResources/ResourceDictionarySingleton__2:<get_themeresources_6ae50ee5d890e499f2c9aa02298c937a_ResourceDictionary>b__963_0 (object)

The same command finishes properly when running under linux.

Configuration

6696065

Regression?

Unsure

Other information

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions