yes, it was gcc, for some reason it get broken. I reinstall cygwin and
reconfigure it, an now it works, thanks!

El lun., 5 de nov. de 2018 a la(s) 07:00, Magnus Ihse Bursie (
magnus.ihse.bur...@oracle.com) escribió:

> On 2018-11-04 06:16, Franco Gastón Pellegrini wrote:
>
> I used this command:
> *bash ./configure --enable-debug --with-target-bits=32
> --with-toolchain-version=2017 --with-jvm-variants=client
> --with-boot-jdk="/home/Franco/Java/jdk10/build/windows-x86-normal-client-fastdebug/jdk/";*
> I tried Visual studio 2015 and 2017 (with-toolchain-version).
> I attached config.log as you asked.
> Thanks.
>
> El sáb., 3 de nov. de 2018 a la(s) 04:43, Magnus Ihse Bursie (
> magnus.ihse.bur...@oracle.com) escribió:
>
>> Have you tried running
>> /cygdrive/c/progra~1/micros~1/2017/commun~1/vc/tools/msvc/1415~1.267/bin/hostx86/x86/cl
>>
>> from the same prompt you ran configure to see what happens? It seems to
>> have located a compiler but fails to run it.
>>
>
> Let me re-iterate this question: Have you tried running
> /cygdrive/c/progra~1/micros~1/2017/commun~1/vc/tools/msvc/1415~1.267/bin/hostx86/x86/cl
> from the same prompt you ran configure to see what happens?
>
> Here is the relevant part of the config.log, it basically says it cannot
> compile a simple C program. You can try recreating conftest.c as shown in
> the log below, or try just any other simple C program.
>
> configure:35681: checking whether the C compiler works
> configure:35703:
> /cygdrive/c/progra~1/micros~1/2017/commun~1/vc/tools/msvc/1415~1.267/bin/hostx86/x86/cl
> conftest.c  >&5
> Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26732.1 for x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> conftest.c
> Microsoft (R) Incremental Linker Version 14.15.26732.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> /out:conftest.exe
> conftest.obj
> LINK : fatal error LNK1104: cannot open file 'conftest.exe'
> configure:35707: $? = 2
> configure:35745: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "OpenJDK"
> | #define PACKAGE_TARNAME "openjdk"
> | #define PACKAGE_VERSION "openjdk"
> | #define PACKAGE_STRING "OpenJDK openjdk"
> | #define PACKAGE_BUGREPORT "build-dev@openjdk.java.net"
> <build-dev@openjdk.java.net>
> | #define PACKAGE_URL "http://openjdk.java.net"; <http://openjdk.java.net>
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:35750: error: in `/home/Franco/Java/jdk11':
> configure:35752: error: C compiler cannot create executables
>
> /Magnus
>
>
>> There is also a second log file, config.log, generated by autoconf. It
>> will hopefully contain output from the failed run of CL, and the
>> complete command line it used when it concluded that the C compiler
>> cannot create executables.
>>
>> /Magnus
>>
>> On 2018-11-03 02:50, Franco Gastón Pellegrini wrote:
>> > Hello,
>> > When I try to compìle OpenJDK 11, I get an error. I tried using visual
>> > studio 2015 and 2017 with the same error. *Note that compiling OpenJDK 9
>> > and 10 work just fine.*
>> >
>> > I attached the log, but the error is:
>> >
>> > **********************************************************************
>> > ** Visual Studio 2017 Developer Command Prompt v15.8.9
>> > ** Copyright (c) 2017 Microsoft Corporation
>> > **********************************************************************
>> > [vcvarsall.bat] Environment initialized for: 'x86'
>> > configure: Setting extracted environment variables
>> > checking for Visual Studio variables... ok
>> > configure: Rewriting ipath to
>> >
>> "/cygdrive/c/progra~1/micros~1/2017/commun~1/vc/tools/msvc/1415~1.267/include"
>> > configure: Rewriting ipath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/netfxsdk/46d346~1.1/include/um"
>> > configure: Rewriting ipath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/include/100171~1.0/ucrt"
>> > configure: Rewriting ipath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/include/100171~1.0/shared"
>> > configure: Rewriting ipath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/include/100171~1.0/um"
>> > configure: Rewriting ipath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/include/100171~1.0/winrt"
>> > configure: Rewriting ipath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/include/100171~1.0/cppwinrt"
>> > configure: Rewriting libpath to
>> >
>> "/cygdrive/c/progra~1/micros~1/2017/commun~1/vc/tools/msvc/1415~1.267/lib/x86"
>> > configure: Rewriting libpath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/netfxsdk/46d346~1.1/lib/um/x86"
>> > configure: Rewriting libpath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/lib/100171~1.0/ucrt/x86"
>> > configure: Rewriting libpath to
>> > "/cygdrive/c/progra~1/wi3cf2~1/10/lib/100171~1.0/um/x86"
>> > checking for cl...
>> >
>> /cygdrive/c/PROGRA~1/MICROS~1/2017/COMMUN~1/VC/Tools/MSVC/14.15.26726/bin/HostX86/x86/cl
>> > configure: Rewriting CC to
>> >
>> "/cygdrive/c/progra~1/micros~1/2017/commun~1/vc/tools/msvc/1415~1.267/bin/hostx86/x86/cl"
>> > checking resolved symbolic links for CC... no symlink
>> > configure: Using microsoft C compiler version 19.15.26732.1 [Microsoft
>> (R)
>> > C/C++ Optimizing Compiler Version 19.15.26732.1 for x86]
>> > checking whether the C compiler works... no
>> > configure: error: in `/home/Franco/Java/jdk11':
>> > configure: error: C compiler cannot create executables
>> > See `config.log' for more details
>> > configure exiting with result code 77
>> >
>> >
>> >
>>
>>
>
> --
> Franco Gastón Pellegrini
>
>
>

-- 
Franco Gastón Pellegrini

Reply via email to