Open
Description
Description
When attempting to build the .NET Runtime with Address Sanitizer (ASan), adding the packs.product
parameter causes the build to fail. Building just clr
or clr+libs
with ASan works fine, but adding packs.product
results in failure during the crossgen2 step.
Repro Steps
- Clone the dotnet/runtime repository
- Check out the dotnet9 branch
- Execute the following commands:
# This command works correctly
build.cmd -s clr -fsanitize address
# This command fails
build.cmd -s clr+libs+packs.product -fsanitize address
Error Message
H:\MonoGroup\dotnet\runtime\src\installer\pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Crossgen2.sfxproj(53,5): error MSB3073: The command "H:\MonoGroup\dotnet\runtime\artifacts\bin\crossgen2_publish\x64\Release\win-x64\publish\crossgen2.exe H:\MonoGroup\dotnet\runtime\artifacts\bin\coreclr\windows.x64.Release\IL/System.Private.CoreLib.dll --out H:\MonoGroup\dotnet\runtime\artifacts\obj\Microsoft.NETCore.App.Crossgen2\Release\net9.0\win-x64\S.P.C.tmp" exited with code -1073741515.
0 warnings
1 error
Metadata
Metadata
Assignees
Type
Projects
Status
No status