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

Bernhard Urban beurba at microsoft.com
Mon Jun 12 16:33:23 UTC 2017


Hey Neale,

sorry about the breakage.  Can you verify if https://github.com/mono/mono/pull/5017 fixes it?  I don't have a s390x toolchain set up on my machine.


Thanks,
-Bernhard
________________________________________
From: Mono-devel-list <mono-devel-list-bounces at lists.dot.net> on behalf of Neale Ferguson <neale at sinenomine.net>
Sent: Monday, June 12, 2017 6:16:11 PM
To: Mono-Devel
Subject: [Mono-dev] Error compiling sot-compiler.c for s390x

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


More information about the Mono-devel-list mailing list