-
Notifications
You must be signed in to change notification settings - Fork 538
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
Could not AOT the assembly: Google.ZXing.Core.dll #5779
Comments
Seeing the same, since upgrading to VS2019 Enterprise 16.10 and Win10 21H1. Disabling LLVM compile does succeed. It appears to be yet another "spaces in path" issue on the C:\Program Files (x86) tree. Partial Output contents below: [aot-compiler stderr] C:\Program Files (x86)\Android\android-sdk |
And furthermore, the "\n" in the path ...android-sdk\ndk-bundle... is being expanded into a newline. Quotes are obviously needed somewhere in the build target. |
I am also suffering of this and this issue is preventing me from using LLVM on my Android builds. Thank you. |
This is likely a duplicate of #5964 or #5764. The former (#5964) has a fix via #5979 which we are hoping will go out in the next d16.10 Service Release. The latter #5764 see that in that case the Assembly being AOT'd has invalid IL in it which is breaking the compiler. See #5764 (comment). As yet we don't know what to do about that one. I am going to close this issue as a duplicate since we are tracking all the bug reports on #5964 or #5764. |
Thank you for the answer @dellis1972. It does indeed seem that Google.ZXing.Core is broken somehow:
Until this is solved, is there any way to forcefully link out the offending methods, or maybe even opt some assemblies out from AOT? I'm perfectly fine with a temporary hack until this gets resolved if one is possible. Thank you again! |
Description
AOT with LLVM enabled does not work for
Google.ZXing.Core.dll
which is part of Xamarin.Facebook.Android.It works when LLVM is disabled.
Steps to Reproduce
Reproduction Sample
Expected Behavior
AOT should work with enabled LLVM compiler.
Actual Behavior
AOT does only work with disabled LLVM compiler.
Version Information
Show/Hide Visual Studio info
Log File
LogCat.txt
AOT_Output.txt
The text was updated successfully, but these errors were encountered: