Error compiling sot-compiler.c for s390x

Neale Ferguson <[email protected]> Mon, 12 Jun 2017 16:16:11 +0000
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <D5643685.9C474%[email protected]>
Getting error:


aot-compiler.c: In function ‘emit_trampolines’:

aot-compiler.c:6831:43: error: ‘info’ undeclared (first use in this function)

aot-compiler.c:6831:43: note: each undeclared identifier is reported only once for each function it appears in

Info is only defined if MONO_ARCH_HAVE_FULL_AOT_TRAMPOLINES is defined. Not sure to declare it outside that #ifdef or to have the #endif moved below:


#endif /* #ifdef MONO_ARCH_HAVE_FULL_AOT_TRAMPOLINES */



                if (mono_aot_mode_is_interp (&acfg->aot_opts)) {

                        mono_arch_get_enter_icall_trampoline (&info);

                        emit_trampoline (acfg, acfg->got_offset, info);

                }

Neale

_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list