RFR: JDK-8072413 Configure should fail for VS2010 without SP1 since that cannot build

Volker Simonis volker.simonis at gmail.com
Mon Nov 28 15:28:36 UTC 2016


On Mon, Nov 28, 2016 at 10:56 AM, Erik Joelsson
<erik.joelsson at oracle.com> wrote:
> Looks good.
>
> /Erik
>
>
>
> On 2016-11-28 10:43, Magnus Ihse Bursie wrote:
>>
>> When building with VS2010 without SP1, the build will fail with:
>> LINK : fatal error LNK1123: failure during conversion to COFF: file
>> invalid or corrupt
>>
>> This creates frustration and support questions in the build mailing list
>> from time to time.
>>
>> We should check for VS2010 without SP1 at configure time, and fail if this
>> is detected.

I don't think this is really an issue of VS2010 vs. VS2010 SP1. It is
actually a problem of installation order. Please see my previous mail
to build-dev (http://mail.openjdk.java.net/pipermail/build-dev/2015-April/014775.html)
and the corresponding stack overflow article:

...
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
...

I'm still happily building with VS2010 and I don't see a reason why we
should artificially prevent users from doing so.

Regards,
Volker

>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8072413
>> WebRev:
>> http://cr.openjdk.java.net/~ihse/JDK-8072413-require-vs2010-sp1/webrev.01
>>
>> /Magnus
>
>



More information about the build-dev mailing list