Bug #3715 | compile problem | ||
---|---|---|---|
Submitted: | 11 May 2004 17:51 | Modified: | 9 Jun 2004 18:58 |
Reporter: | Kovacs Janos | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 4.1 | OS: | Solaris (Solaris 9) |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[11 May 2004 17:51]
Kovacs Janos
[11 May 2004 18:00]
Kovacs Janos
sorry, I forget to mention some version: # /usr/local/bin/automake --version automake (GNU automake) 1.7.2 Written by Tom Tromey <tromey@redhat.com>. # make -v GNU Make 3.80
[12 May 2004 0:00]
Lenz Grimmer
If you compile a 64bit binary, you need to remove the "--enable-assembler" option from the configure line - the assembler code is 32bit only...
[12 May 2004 0:18]
Timothy Smith
The documentation here shows examples of using -m64 and --enable-assembler: http://dev.mysql.com/doc/mysql/en/Solaris.html This doesn't work, though. The assembler can only be used in 32-bit binaries.
[12 May 2004 10:00]
Kovacs Janos
In that case this should be corrected: http://dev.mysql.com/doc/mysql/en/Solaris.html "To create a 64-bit Solaris binary using gcc, add -m64 to CFLAGS and CXXFLAGS. Note that this works only with MySQL 4.0 and up; MySQL 3.23 does not include the required modifications to support this." to: "To create a 64-bit Solaris binary using gcc, add -m64 to CFLAGS and CXXFLAGS and remove --enable-assembler option from configure line. Note that this works only with MySQL 4.0 and up; MySQL 3.23 does not include the required modifications to support this."
[17 May 2004 20:37]
Paul DuBois
I can fix the section indicated by previous discussion, but this bug report cannot be closed yet. One of the buildmeisters needs to look at this section in the manual: http://dev.mysql.com/doc/mysql/en/MySQL_binaries.html There is a Solaris 64-bit entry that has both -m64 and --enable-assembler. According to this bug report, that cannot be correct. See the entry for: Sun Solaris 8 SPARC 64-bit with gcc 3.2
[9 Jun 2004 18:58]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s).