Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I started the building mono on windows using the cygwing shell.
During the processing "make command" , an error occurred in aot-compiler.c file:
aot-compiler.c: In function 'emit_code':
aot-compiler.c:7186:5: error: implicit declaration of function 'arch_emit_direct_call' [-Werror=implicit-function-declaration]
aot-compiler.c:7186:5: warning: nested extern declaration of 'arch_emit_direct_call' [-Wnested-externs]
I believe that error is occurring because my environment not support the aot feature.
I checked the support through this example:
c:\mono --aot=full hello.exe
> AOT compilation is not supported on this platform.
Inside the aot-compile.c, I checked in all the invoking of the "arch_emit_direct_call" is within the condition "MONO_ARCH_AOT_SUPPORTED", with exception of the invocation of the line 7186.
Fixed by 2027961a5c39318929665950f73b7ca68890f7c7.