package/mono: fix crosscompilation error on ppc64
PATCH 1/1 package/mono: fix crosscompilation error on ppc64
Mono for powerpc64 could not, at least at the moment, cross compile for a powerpc architecture.
Fixes:
http://autobuild.buildroot.net/results/9713b9976c4aa3b9345609ef6fcdf663a994fb4d/
--- package/mono/Config.in | 9 +++++++++ 1 file changed, 9 insertions(+)
package/mono/Config.in +9 -0
@@ -3,9 +3,14 @@ config BR2_PACKAGE_MONO_ARCH_SUPPORTS default y if (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \ BR2_mipsel || BR2_powerpc || BR2_x86_64) +config BR2_PACKAGE_MONO_CROSS_COMPILE_NOT_SUPPORTS + bool + default y if (BR2_HOSTARCH = "powerpc64le" && !BR2_powerpc64le) + config BR2_PACKAGE_MONO bool "mono" depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS + depends on !BR2_PACKAGE_MONO_CROSS_COMPILE_NOT_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS help
@@ -17,3 +22,7 @@ config BR2_PACKAGE_MONO comment "mono needs a toolchain w/ threads, dynamic library" depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +comment "on powerpc64le mono can be crosscompiled only to the same arch" + depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS + depends on BR2_PACKAGE_MONO_CROSS_COMPILE_NOT_SUPPORTS
Signature · 1 line
2.7.4
PATCH 1/1 package/mono: fix crosscompilation error on ppc64
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Angelo" == Angelo Compagnucci <[email protected]> writes:
Mono for powerpc64 could not, at least at the moment, cross compile for a powerpc architecture.
Fixes:
http://autobuild.buildroot.net/results/9713b9976c4aa3b9345609ef6fcdf663a994fb4d/
The failure is in building host-mono, so I'm not sure why you think the target architecture would matter?
I have sent a patch to simply unconditionally only make mono available if you are building on a x86/x86-64 host, similar to how we recently did for erlang.
https://patchwork.ozlabs.org/patch/880358/
Signature · 1 line
Bye, Peter Korsgaard