Skip to content

MonoAOTCompiler.cs: Correctly handle relative path for assembly to #49178

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

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

radical
Copy link
Member

@radical radical commented Mar 4, 2021

.. precompile.

Essentially, we failed to precompile an assembly with a path like foo/bar/x.dll, because we run mono-aot-cross from the directory containing that assembly (so, foo/bar), but then pass the path as is, instead of adjusting the path to the assembly.

Found thanks to @naricc .

@radical radical requested review from steveisok and akoeplinger March 4, 2021 23:07
@ghost
Copy link

ghost commented Mar 4, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@radical radical requested review from naricc and lewing March 4, 2021 23:07
@ghost
Copy link

ghost commented Mar 5, 2021

Hello @radical!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@radical
Copy link
Member Author

radical commented Mar 5, 2021

Test failure in CoreCLR Pri0 Runtime Tests Run windows x86 checked - #45326 .

@radical radical merged commit 9849163 into dotnet:main Mar 5, 2021
@radical radical deleted the aot-compiler-fix-path branch March 5, 2021 04:46
@ghost ghost locked as resolved and limited conversation to collaborators Apr 4, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants