Hi Prasanta,

the COFF isue is a known problem with VS2010 after installing VS2012
or .NET 4.5.1. There exist various workarounds - just google for "LINK
: fatal error LNK1123: failure during conversion to COFF: file
invalid".

The easiest and fastes solution is to remove the bad version of
"cvtres.exe" which is causing the problem as explained in the second
answer at the stackowerflow question
http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval

Regards,
Volker

On Tue, Apr 14, 2015 at 9:54 AM, prasanta sadhukhan
<prasanta.sadhuk...@oracle.com> wrote:
> Hi All,
>
> I also faced this problem when I update my forest through "sh get_source.sh"
> and run "configure", "make clean" followed by "make"
>
>    Creating library jvm.lib and object jvm.exp
> LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
> or corrupt
> NMAKE : fatal error U1077: 'C:\progra~2\micros~1.0\vc\bin\link.exe' : return
> code '0x463'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
> Stop.
> make[5]: *** [generic_build2] Error 2
> Makefile:230: recipe for target 'generic_build2' failed
> Makefile:177: recipe for target 'product' failed
> make[4]: *** [product] Error 2
> HotspotWrapper.gmk:44: recipe for target
> '/cygdrive/c/jdk9/client/build/windows-x86-normal-server-release/hotspot/_hotspot.timestamp'
> failed
> make[3]: ***
> [/cygdrive/c/jdk9/client/build/windows-x86-normal-server-release/hotspot/_hotspot.timestamp]
> Error 1
> make[2]: *** [hotspot] Error 1
> make/Main.gmk:193: recipe for target 'hotspot' failed
> make[2]: *** Waiting for unfinished jobs....
>
> Regards
> Prasanta
>
> On 4/13/2015 3:28 PM, Volker Simonis wrote:
>>
>> Hi Phil,
>>
>> are you sure this is the first error?
>>
>> Can you start a new, clean build with only one build job and post
>> both, the configure line and output along with the build log (at least
>> LOG=debug).
>>
>> Have you changed you Cygwin version or are you using a new
>> disk/network share for your sources/output directory?
>>
>> I recently had two Windows build problems:
>>
>>   - wrong files permission. This could be solved by adding the 'noacl'
>> option to the list of default mount options in /etc/fstab of your
>> Cygwin installation.
>>   - I had  "multiple target patterns" failures which only appeared if
>> using Cygwin make version less than 4.1.
>>
>> But both these problems can be at least partially related to our own,
>> modified build environment.
>>
>> Regards,
>> Volker
>>
>> On Sat, Apr 11, 2015 at 12:39 AM, Phil Race <philip.r...@oracle.com>
>> wrote:
>>>
>>> For some time (a couple of weeks) I have run into the following error
>>> whenever I try to build on Windows on my system
>>> I've been using forever ..  I have worked around it by doing builds using
>>> JPRT but its getting annoying.
>>> Does anyone have a clue what I am doing wrong. This happens on brand new
>>> clean forests etc.
>>>
>>> make[3]: *** No rule to make target
>>>
>>> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/java.xml.bind/_the.java.xml.bind_batch',
>>> needed by
>>>
>>> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/jdk.xml.bind/_the.jdk.xml.bind_batch'.
>>> Stop.
>>> make[3]: *** Waiting for unfinished jobs....
>>> make[2]: *** [jdk.xml.bind-java] Error 1
>>> make[2]: *** Waiting for unfinished jobs....
>>> make[3]: *** No rule to make target
>>>
>>> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/java.xml.bind/_the.java.xml.bind_batch',
>>> needed by
>>>
>>> `/cygdrive/c/jdks/jdk9/build/windows-x86-normal-server-release/jdk/modules/java.xml.ws/_the.java.xml.ws_batch'.
>>> Stop.
>>> make[3]: *** Waiting for unfinished jobs....
>>> make[2]: *** [java.xml.ws-java] Error 1
>>>
>>> -phil.
>
>

Reply via email to