ObjWriterRid
always defaults to linux-$(Platform)
on Alpine Linux on non-portable build
#75636
Labels
Milestone
Description
ObjWriterRid
should equallinux-musl-$(Platform)
when building non-portable build. It always defaults tolinux-$(Platform)
despite setting/p:ObjWriterRid=linux-musl-$(Platform)
Reproduction Steps
Build with
/p:TargetRid=alpine.3.16-x64
Expected behavior
Should pick-up
runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter
on building non-portable runtime.Actual behavior
Picks up
runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter
Regression?
No response
Known Workarounds
While setting
/p:ObjWriterRid=linux-musl-$(Platform)
on build should work due toruntime/src/coreclr/tools/aot/ILCompiler/ILCompiler.props
Line 38 in 4ff5a3a
...it is not picked up for some reason.
The following patch forces it:
Configuration
Build with commit hash 6d10e4c, as pulled by commit 8a0eb58a5a825e10ea2bf06a892dd441355818c8 of dotnet/installer's tarball.
Other information
No response
The text was updated successfully, but these errors were encountered: