-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
mono/mono
#16792Milestone
Description
Steps to Reproduce
AOT compilation has recently broken on Windows. I believe this is fallout from some recent changes to no longer attempt to use shortened paths for tools in #2062. It looks like we've got an extra path escape attempt when invoking strip:
""C:\Program Files (x86)\Microsoft Visual Studio\2019\Stable\MSBuild\Xamarin\Android\ndk\arm-linux-androideabi-"strip"
[aot-compiler stdout] AOTID 3581E20D-4E87-BD23-634B-437CDBBB6296
[aot-compiler stdout] Compiled: 3/3
[aot-compiler stdout] Executing the native assembler: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Stable\MSBuild\Xamarin\Android\ndk\arm-linux-
androideabi-as" -mfpu=vfp3 -o obj\Release\90\aot\armeabi-v7a\Xamarin.Android.Arch.Core.Common.dll\temp.s.o obj\Release\90\aot\armeabi-v7a\Xamarin.Andr
oid.Arch.Core.Common.dll\temp.s
[aot-compiler stdout] Executing the native linker: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Stable\MSBuild\Xamarin\Android\ndk\arm-linux-and
roideabi-ld" -shared -o obj\Release\90\aot\armeabi-v7a\libaot-Xamarin.Android.Arch.Core.Common.dll.so.tmp obj\Release\90\aot\armeabi-v7a\Xamarin.Andro
id.Arch.Core.Common.dll\temp.s.o
[aot-compiler stdout] Stripping the binary: ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Stable\MSBuild\Xamarin\Android\ndk\arm-linux-androidea
bi-"strip" --strip-symbol=\$a --strip-symbol=\$d obj\Release\90\aot\armeabi-v7a\libaot-Xamarin.Android.Arch.Core.Common.dll.so.tmp
[aot-compiler stderr] '""C:\Program' is not recognized as an internal or external command,
[aot-compiler stderr] operable program or batch file.
[aot-compiler stderr] AOT of image C:\Users\peter\source\repos\App9\App9\App9.Android\obj\Release\90\android\assets\Xamarin.Android.Support.CoordinaterL
ayout.dll failed.
Version Information
d16-4
Log File
Metadata
Metadata
Assignees
Labels
No labels