compiling openJdk 11 on windows 7 32bits fail
alexey.ivanov at oracle.com
Tue Feb 12 13:38:13 UTC 2019
On 12/02/2019 04:25, David Holmes wrote:
> On 12/02/2019 1:45 pm, Franco Gastón Pellegrini wrote:
>> I just downloaded again (to be sure about my errors) JDK 12 and use
>> this command:
>> bash ./configure --enable-debug --disable-warnings-as-errors
>> --with-target-bits=32 --with-toolchain-version=2017
>> --with-jvm-variants=client --with-boot-jdk="/cygdrive/c/Program
>> and I get:
>> ERROR: Build failed for target 'default (exploded-image)' in
>> configuration 'windows-x86-client-fastdebug' (exit code 2)
>> Stopping sjavac server
>> === Output from failing command(s) repeated here ===
>> * For target support_native_java.desktop_libawt_Hashtable.obj:
>> error C2664: 'void
>> DTrace_PrintFunction(DTRACE_PRINT_CALLBACK,dtrace_id *,dtrace_id
>> *,const char *,int,int,const char *,...)': cannot convert argument 1
>> from 'void (__stdcall *)(const char *,int,int,const char *,va_list)'
>> to 'DTRACE_PRINT_CALLBACK'
>> note: None of the functions with this name in scope match the target
Maybe CALLBACK / JNICALL macro is missing somewhere…
If I understand correctly, a pointer to function with __stdcall calling
convention is expected; but DTRACE_PRINT_CALLBACK probably does not have it.
Does it build successfully if you don't define DEBUG?
> Sorry I can't see anything that would cause that - certainly nothing
> 32-bit specific.
>> ... (rest of output omitted)
>> * All command lines available in
>> === End of repeated output ===
>> No indication of failed target found.
>> Hint: Try searching the build log for '] Error'.
>> Hint: See doc/building.html#troubleshooting for assistance.
>> make: *** [/home/franc/java/jdk12/make/Init.gmk:310: main] Error 2
>> make: *** [/home/franc/java/jdk12/make/Init.gmk:186: default] Error 2
More information about the build-dev