Bug #39181 | Build error in MemoryManager.h in Pushbuild on sol10-sparc-a-max | ||
---|---|---|---|
Submitted: | 2 Sep 2008 10:00 | Modified: | 8 Jan 2009 17:20 |
Reporter: | Olav Sandstå | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
Version: | 6.0.7 | OS: | Solaris (Solaris 10) |
Assigned to: | Olav Sandstå | CPU Architecture: | Any |
Tags: | pushbuild, Sun Studio 10, Sun Studio 11 |
[2 Sep 2008 10:00]
Olav Sandstå
[2 Sep 2008 10:13]
John 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 10:46]
Olav Sandstå
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 20:01]
Olav Sandstå
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 20: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 2009 17: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.