-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mono not producing native binaries with version header in Windows #37503
Comments
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @directhex |
@akoeplinger as discussed offline, assigning to you. |
When fixing this we should remove the temporary workaround in: https://github.com/dotnet/runtime/pull/37511/files#diff-9fac0b3c275ca346bd7e392f9ae3807cR7 |
Another issue here that might not be obvious is that the symbol indexer will see CoreCLR and try to index the special modules with it: the DAC (mscordaccore/libmscordaccore) and the DBI (mscordbi/libmscordbi). I don't expect this to be an issue because it indexes modules with a index composed of the version + an identifier composed of timestamp and size on windows and the build ID on linux, but I don't know if the same indexing logic applies to Mono. See other impact in #34202. @mikem8361, what happens if the indexer doesn't find the dac and dbi in the same package as coreclr. |
If there is no DAC or DBI module for the coreclr module (currently only “coreclr.dll”, “libcoreclr.so” or “libcoreclr.dylib”), the uploader ignores it and displays an warning if the tracing level is high enough.
|
The binary now includes the proper version header. Fixes dotnet#37503
The binary now includes the proper version header. Fixes #37503
While working on collapsing the mono official builds into single legs, I noticed that we don't produce a runtime pack for Windows:
runtime/eng/pipelines/runtime-official.yml
Lines 227 to 249 in 704be18
I added that to my test change and the windows build failed with:
As a workaround I will be setting PermitDllAndExeFilesLackingFileVersion=true for mono on windows in
installer/netcoreapp.depproj
to start producing the runtime pack for Windows. However, we should fix this.cc: @steveisok @akoeplinger @marek-safar
The text was updated successfully, but these errors were encountered: