Error compiling sot-compiler.c for s390x

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error compiling sot-compiler.c for s390x

Neale Ferguson
+ADw-html+AD4- +ADw-head+AD4- +ADw-/head+AD4- +ADw-body style+AD0AIg-word-wrap: break-word+ADs- -webkit-nbsp-mode: space+ADs- -webkit-line-break: after-white-space+ADs- font-family: Calibri, sans-serif+ADs- font-size: 14px+ADs- color: rgb(0, 0, 0)+ADsAIgA+- +ADw-div+AD4-Getting error:+ADw-/div+AD4- +ADw-div+AD4APA-br+AD4- +ADw-/div+AD4- +ADw-div+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg-aot-compiler.c: In function +IBg-emit+AF8-trampolines+IBk-:+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg-aot-compiler.c:6831:43: error: +IBg-info+IBk- undeclared (first use in this function)+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg-aot-compiler.c:6831:43: note: each undeclared identifier is reported only once for each function it appears in+ADw-/span+AD4APA-/p+AD4- +ADw-/div+AD4- +ADw-div+AD4APA-br+AD4- +ADw-/div+AD4- +ADw-div+AD4-Info is only defined if+ACY-nbsp+ADs-MONO+AF8-ARCH+AF8-HAVE+AF8-FULL+AF8-AOT+AF8-TRAMPOLINES is defined. Not sure to declare it outside that +ACM-ifdef or to have the +ACM-endif moved below:+ADw-/div+AD4- +ADw-div+AD4APA-br+AD4- +ADw-/div+AD4- +ADw-div+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- color: rgb(81, 47, 224)+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ADs- color: +ACM-d339d2+ACIAPgAj-endif+ADw-/span+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ADs- color: +ACM-000000+ACIAPg- +ADw-/span+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg-/+ACo- +ACM-ifdef MONO+AF8-ARCH+AF8-HAVE+AF8-FULL+AF8-AOT+AF8-TRAMPOLINES +ACo-/+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADs- min-height: 20px+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAm-nbsp+ADsAJg-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADsAPA-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAm-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ADw-/span+AD4- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ADs- color: +ACM-adac22+ACIAPg-if+ADw-/span+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg- (mono+AF8-aot+AF8-mode+AF8-is+AF8-interp (+ACY-amp+ADs-acfg-+ACY-gt+ADs-aot+AF8-opts)) +AHsAPA-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAm-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- mono+AF8-arch+AF8-get+AF8-enter+AF8-icall+AF8-trampoline (+ACY-amp+ADs-info)+ADsAPA-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAm-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- emit+AF8-trampoline (acfg, acfg-+ACY-gt+ADs-got+AF8-offset, info)+ADsAPA-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAm-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +ACY-nbsp+ADs- +AH0AJg-nbsp+ADsAPA-/span+AD4APA-/p+AD4- +ADw-/div+AD4- +ADw-div+AD4APA-br+AD4- +ADw-/div+AD4- +ADw-div+AD4-Neale+ADw-/div+AD4- +ADw-/body+AD4- +ADw-/html+AD4-
_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error compiling sot-compiler.c for s390x

Alexander Köplinger via Mono-devel-list
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 <[hidden email]> on behalf of Neale Ferguson <[hidden email]>
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
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list
Loading...