Please review fix for 6705913 "freetype_versioncheck.exe - Unable To Locate Component"

Tim Bell Tim.Bell at Sun.COM
Fri Aug 21 03:20:36 UTC 2009


Hi Folks

When building OpenJDK, the freetype sanity check compiles a
little program to test that the freetype include files and
libraries are available, and also that the version number is
acceptable.

If building on Windows and using a Visual Studio compiler
newer than 2003, this program will fail due to the new
rules for accessing MSVCR??.dll. [1]

I didn't make the up the rules, in fact I am extremely
puzzled that Microsoft is forcing ALL external developers
and ISVs to solve this problem.  I am trying to get the
OpenJDK build to deal with them or at least tolerate
them for those people out there who build OpenJDK on
Windows.

The bugzilla report:
  https://bugs.openjdk.java.net/show_bug.cgi?id=100101

The code review:
  http://cr.openjdk.java.net/~tbell/6705913/webrev.00/

These changes build OK on all JPRT systems:

linux_i586_2.6
linux_x64_2.6
solaris_i586_5.10
solaris_sparc_5.10
solaris_sparcv9_5.10
solaris_x64_5.10-
windows_i586_5.0
windows_x64_5.2

They also work on my Windows XP SP2 / Visual Studio 2008
build machine.

Thanks in advance-

Tim

[1] How to redistribute the Visual C++ Libraries with your application (Ben Anderson)
http://blogs.msdn.com/vcblog/archive/2007/10/12/how-to-redistribute-the-visual-c-libraries-with-your-application.aspx



More information about the build-dev mailing list