[build] fix 32bit targets cross compilation configure #415
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
it looks like we cannot crosscompile to 32 bits with 64 bits tools,
so we need to build 32 bits crosscompilers for 32 bits targets
otherwise we end up with errors like this one:
/Users/builder/data/lanes/4285/2021a5bd/source/monodroid/out/bin/cross-arm --aot=outfile=/Users/builder/data/lanes/4285/2021a5bd/source/monodroid/tests/runtime/obj/Release/aot/armeabi-v7a/libaot-Mono.Android.dll.so,asmwriter,mtriple=armv7-linux-gnueabi,tool-prefix=/Users/builder/android-sdk-tool/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-,ld-flags=,llvm-path=/Users/builder/data/lanes/4285/2021a5bd/source/monodroid/out/bin,temp-path=/Users/builder/data/lanes/4285/2021a5bd/source/monodroid/tests/runtime/obj/Release/aot/armeabi-v7a/Mono.Android.dll "/Users/builder/data/lanes/4285/2021a5bd/source/monodroid/tests/runtime/obj/Release/android/assets/shrunk/Mono.Android.dll"
[aot-compiler stderr] Can't cross-compile on 64-bit platforms to 32-bit architecture.
[aot-compiler stderr] Can't cross-compile on 64-bit platforms to 32-bit architecture.
[aot-compiler stderr] Can't cross-compile on 64-bit platforms to 32-bit architecture.
increase bundle version to force mono runtimes rebuild by jenkins