RFR (7152336): Enable OpenJDK builds on Windows with MinGW/MSYS

Tim Bell tim.bell at oracle.com
Thu Jun 14 05:31:31 UTC 2012


Hello everyone-

Kelly asked me to pick up on bug #/7152336 "//Enable builds on Windows 
with MinGW/MSYS"/, and this email thread:

http://mail.openjdk.java.net/pipermail/build-dev/2012-April/thread.html#6083

As David pointed out, we will need at least one other bug # for the 
hotspot changes.  That said, this is enough to get me started.

Hi Volker:

I have applied the patches originally from your posting.  Many thanks 
for that:
http://cr.openjdk.java.net/~simonis/MinGW_MSYS.v1/

With a few modifications (keep cpio for non MinGW/Msys builds, keep MKS 
as an option), the proposed changes are visible here for review:

   http://cr.openjdk.java.net/~tbell/7152336/webrev.00/

For reference, my test build log is visible here:

http://cr.openjdk.java.net/~tbell/7152336/webrev.00/full_control_build_no_docs.log

Additional test builds on JPRT (our internal build apparatus) verified 
that I didn't regress the existing build.

Abbreviated jtreg [1] testing on this build was successful:

$ /d/tools/jdk8/7152336/windows-i586/bin/java -jar 
/d/tools/jtreg-internal/jtreg/lib/jtreg.jar -automatic -noshell 
test/java/lang test/java/math test/java/util
Directory "JTreport" not found: creating
Directory "JTwork" not found: creating
Directory "JTwork\scratch" not found: creating
Test results: passed: 698; failed: 1; error: 5
Report written to D:\tools\jdk8\7152336\jdk\JTreport\html\report.html
Results written to D:\tools\jdk8\7152336\jdk\JTwork
Error: Some tests failed or other problems occurred.

The failing test (java/lang/Math/WorstCaseTests.java) is due to a known 
regression: 7174532 
<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7174532> 
"jdk/test/java/lang/Math/WorstCaseTests.java failing on x86"

The 5 error tests are all ignored until bug xxxxxxx (for some value of 
x) is resolved.

Thanks in advance for your review and feedback -

Tim Bell

[1]  http://openjdk.java.net/projects/code-tools/




More information about the build-dev mailing list