-
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] MonoAOTCompiler task does not output shared object file extension (.dylib/.so/etc.) #49179
Comments
@steveisok @directhex - Many changes related to aot object files went in over the last month. Does any of those address this issue and do we really need this for .NET6 ? |
We do need this for net6. Android in particular has asked and is something @akoeplinger has been working on. I would expect a side benefit for it to work on desktop. |
Assigning to @akoeplinger for easy tracking |
Tagging subscribers to this area: @directhex Issue DetailsWhen AOTing use the MonoAOTCompiler task, the aot object files will have either a dll.o, dll-llvm.o, or a .s extension, depending on the OutputType parameter. However, on desktop these are actually shared object files and should have the appropriate extension (.dylib or .so, depending on the platform), or else the runtime will not find and run the AOT'd code. My proposal is to add another value the ObjectType enum, maybe "Shared", to control this.
|
Fixed by #55753 |
When AOTing use the MonoAOTCompiler task, the aot object files will have either a dll.o, dll-llvm.o, or a .s extension, depending on the OutputType parameter. However, on desktop these are actually shared object files and should have the appropriate extension (.dylib or .so, depending on the platform), or else the runtime will not find and run the AOT'd code.
My proposal is to add another value the ObjectType enum, maybe "Shared", to control this.
The text was updated successfully, but these errors were encountered: