[Mono-dev] Error compiling sot-compiler.c for s390x

Neale Ferguson neale at sinenomine.net
Mon Jun 12 16:16:11 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170612/923367f6/attachment.html>


More information about the Mono-devel-list mailing list