-
Notifications
You must be signed in to change notification settings - Fork 517
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
[Xcode10.2] XI unitests fail to build from bots with an error MTOUCH : error MT5106: Could not compile the file(s) #5512
Comments
That's because you use Are you using that same configuration locally ? Was that same configuration working on XI 12.2 ? |
I was able to reproduce this using
don't link build log That said I was able to run |
@dalexsoto the default monotouch-tests has the linker enabled, otherwise it would be larger than don't link (and even more likely to hit the limit) |
That's because you use -nolink (Don't Link) on devices and you run into the 32bits native linker limit. Are you using that same configuration locally ? Was that same configuration working on XI 12.2 ? |
@spouliot I can reproduce @GouriKumari findings, this does not happen if you try to build BUT if you try to build |
This is probably a good thing: my guess is that Xcode10.1 silently created broken native code that would just crash randomly at runtime. |
it’s the same, old issue - and there’s nothing we can do |
Our tests are currently failing when building for device + don't Link linker configuration + armv7[1] so we modified said tests to do arm64 instead. For more context see: #5512 [1]: ``` Xamarin.MTouch.Registrar(Dev,DontLink,Static,"") : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/u102nsmt.f5b/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.Registrar (Xamarin.Target target, Xamarin.Tests.LinkerOption linker, Xamarin.Tests.RegistrarOption registrar, System.String abi) [0x0005a] in :0 Xamarin.MTouch.Registrar(Dev,DontLink,Dynamic,"") : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/ma2r71ts.k3p/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.Registrar (Xamarin.Target target, Xamarin.Tests.LinkerOption linker, Xamarin.Tests.RegistrarOption registrar, System.String abi) [0x0005a] in :0 Xamarin.MTouch.TestCaseMismatchedAssemblyName : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build: dontlink error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/2i0rdomc.jnq/armv7s/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.TestCaseMismatchedAssemblyName () [0x0021e] in :0 ```
Our tests are currently failing when building for device + don't Link linker configuration + armv7[1] so we modified said tests to do arm64 instead. For more context see: #5512 [1]: ``` Xamarin.MTouch.Registrar(Dev,DontLink,Static,"") : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/u102nsmt.f5b/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.Registrar (Xamarin.Target target, Xamarin.Tests.LinkerOption linker, Xamarin.Tests.RegistrarOption registrar, System.String abi) [0x0005a] in :0 Xamarin.MTouch.Registrar(Dev,DontLink,Dynamic,"") : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/ma2r71ts.k3p/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.Registrar (Xamarin.Target target, Xamarin.Tests.LinkerOption linker, Xamarin.Tests.RegistrarOption registrar, System.String abi) [0x0005a] in :0 Xamarin.MTouch.TestCaseMismatchedAssemblyName : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build: dontlink error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/2i0rdomc.jnq/armv7s/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.TestCaseMismatchedAssemblyName () [0x0021e] in :0 ```
Fixes xamarin/maccore#1392 * [tests|mtouch] armv7 to arm64 in a couple of device build tests Our tests are currently failing when building for device + don't Link linker configuration + armv7[1] so we modified said tests to do arm64 instead. For more context see: #5512 [1]: ``` Xamarin.MTouch.Registrar(Dev,DontLink,Static,"") : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/u102nsmt.f5b/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.Registrar (Xamarin.Target target, Xamarin.Tests.LinkerOption linker, Xamarin.Tests.RegistrarOption registrar, System.String abi) [0x0005a] in :0 Xamarin.MTouch.Registrar(Dev,DontLink,Dynamic,"") : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/ma2r71ts.k3p/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.Registrar (Xamarin.Target target, Xamarin.Tests.LinkerOption linker, Xamarin.Tests.RegistrarOption registrar, System.String abi) [0x0005a] in :0 Xamarin.MTouch.TestCaseMismatchedAssemblyName : Expected execution to succeed, but exit code was 1, and there were 1 error(s): build: dontlink error MT5106: Could not compile the file(s) '/private/var/folders/9t/bhhqghxd4131b5k43v0yk7yc0000gn/T/mtouch.cache/2i0rdomc.jnq/armv7s/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com at Xamarin.Tests.BundlerTool.AssertExecute (System.String message) [0x00095] in :0 at Xamarin.MTouchTool.AssertExecute (Xamarin.MTouchAction action, System.String message) [0x0000d] in :0 at Xamarin.MTouch.TestCaseMismatchedAssemblyName () [0x0021e] in :0 ``` * Fix indentation
Fixed in |
Steps to Reproduce
Version: 12.4.0.15 (Visual Studio Community)
Hash: 8a579bb and install Xcode10.2
Expected Behavior
Tests Projects should build successfully
Actual Behavior
Failed to build with an error, MTOUCH : error MT5106: Could not compile the file(s) '/Users/xamarinqa/agent/_work/r1/a/xamarin-macios/tests/monotouch-test/obj/iPhone/Debug-unified/mtouch-cache/armv7/Xamarin.iOS.dll.s'. Please file a bug report at http://bugzilla.xamarin.com [/Users/xamarinqa/agent/_work/r1/a/xamarin-macios/tests/monotouch-test/monotouch-test.csproj]
Environment
Build Logs
Build Log: http://xqa.blob.core.windows.net/gist/report-533d048480f24f6eb60d613792db0cf4.txt
Example Project (If Possible)
monotouch-test project from xamarin-macios/tests
Additional Info
This issue occurred only running from CI, I couldn't reproduce it locally.
The text was updated successfully, but these errors were encountered: