| Bug #39181 | Build error in MemoryManager.h in Pushbuild on sol10-sparc-a-max | ||
|---|---|---|---|
| Submitted: | 2 Sep 2008 12:00 | Modified: | 8 Jan 18:20 |
| Reporter: | Olav Sandstaa | ||
| Status: | Closed | ||
| Category: | Server: Falcon | Severity: | S3 (Non-critical) |
| Version: | 6.0.7 | OS: | Sun Solaris (Solaris 10) |
| Assigned to: | Olav Sandstaa | Target Version: | 6.0.8 |
| Tags: | pushbuild, Sun Studio 10, Sun Studio 11 | ||
| Triage: | Triaged: D3 (Medium) | ||
[2 Sep 2008 12:00]
Olav Sandstaa
[2 Sep 2008 12:13]
John H. Embretsen
Sometimes the build fails with a timeout instead, which is probably a separate issue (see Bug#32725). The timout has masked the error reported in this bug report. This issue was probably introduced August 22nd in the mysql-6.0-falcon-team branch, the same day Falcon was in fact enabled in SPARC builds in Pushbuild.
[2 Sep 2008 12:46]
Olav Sandstaa
With CC 5.7 from Sun Studio 10 the compilation error is easy to reproduce. With CC 5.9 from Sun Studio 12 the code compiles without errors.
[9 Sep 2008 22:01]
Olav Sandstaa
Omer, one comment about the triage: To fix this problem requires changes in the Falcon code, not the environment. The problem only occurs with older versions of the Sun Studio compiler (Sun CC 5.7 and 5.8) due to they being more strict than the latest version found in Sun Studio 12 (Sun CC 5.9).
[14 Sep 2008 22:13]
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/54046 2823 Olav Sandstaa 2008-09-14 Bug#39181 Build error in MemoryManager.h in Pushbuild on sol10-sparc-a-max Fixed compilation error that occured with Sun Studio 10 (Sun CC 5.7) due to inclusion of gcc specific code.
[8 Jan 18:20]
MC Brown
A note has been added to the 6.0.8 changelog: Building MySQL with Falcon support using Sun Studio 10 would fail due to GNU CC specific code within MemoryManager.h.
