Bug #31929 Windows build fails with >=4 Parallel build threads.
Submitted: 29 Oct 2007 20:41 Modified: 25 Feb 2008 19:38
Reporter: Iggy Galarza Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.1 OS:Windows
Assigned to: Iggy Galarza CPU Architecture:Any
Tags: wtf

[29 Oct 2007 20:41] Iggy Galarza
Description:
Windows CMake build fails with >=4 Parallel build threads. The following projects fail example, csv, blackhole, archive, federated, innobase, heap, myisam, myisammrg because mysqld_error.h hasn't been created yet.  

How to repeat:
1. Create VS 2K5 solution from a bk clone not a src.zip.
2. Set maximum number of parallel build threads = 4.
3. Attempt to build the solution.

Observed result:

51>Project not selected to build for this solution configuration 
========== Build: 36 succeeded, 14 failed, 1 up-to-date, 1 skipped ==========

Subsequent build attempts succeed because the GenError project build completes.

Reducing the number parallel builds to the Microsoft default of 1 will allow the build to complete.

Suggested fix:
Add GenError dependencies to storage engine projects listed above to improve build performance.
[13 Nov 2007 20:14] Tonci Grgin
Still there in ChangeSet@1.2610, 2007-11-12 ... BUG31611
[30 Jan 2008 2:59] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/41390

ChangeSet@1.2622, 2008-01-29 21:58:57-05:00, iggy@alf.(none) +12 -0
  Bug#31929 Windows build fails with >=4 Parallel build threads.
  - Add GenError Dependency to storage engines that include 
  mysqld_error.h
[25 Feb 2008 15:58] Bugs System
Pushed into 5.1.24-rc
[25 Feb 2008 16:04] Bugs System
Pushed into 6.0.5-alpha
[25 Feb 2008 19:38] Paul DuBois
Noted in 5.1.24, 6.0.5 changelogs.

On Windows, the build process failed with four or more parallel
build threads.