Bug #7468 Instance Manager fails to compile: thread_registry.cc
Submitted: 21 Dec 2004 21:33 Modified: 21 Dec 2004 22:26
Reporter: Matt Wagner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.0.3-alpha OS:Other (IRIX (octane2))
Assigned to: Petr Chardin CPU Architecture:Any

[21 Dec 2004 21:33] Matt Wagner
Description:
Instance Manager fails to compile with error in thread_registry.cc:

cc-1101 CC: ERROR File = thread_registry.cc, Line = 193
10974:   "info" has already been declared in the current scope.
10975: 
10976:     for (Thread_info *info= head.next; info != &head; info= info->next)
10977:                       ^
10978: 
10979: 1 error detected in the compilation of "thread_registry.cc".
10980: gmake[3]: *** [thread_registry.o] Error 2

How to repeat:
Compile 5.0.3-alpha "-debug" on octane2.
[21 Dec 2004 22:26] Petr Chardin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

The problem stems from the Irix compiler bug