Re: Error compiling sot-compiler.c for s390x

Bernhard Urban via Mono-devel-list <[email protected]> Mon, 12 Jun 2017 16:33:23 +0000
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <DM5PR21MB06343E64A533F1C875519947C2CD0@DM5PR21MB0634.namprd21.prod.outlook.com>
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 <[email protected]> on behalf of Neale Ferguson <[email protected]>
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
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list