Bug #33126 | 64-bit build fails on Solaris x86 | ||
---|---|---|---|
Submitted: | 10 Dec 2007 21:37 | Modified: | 18 Dec 2007 4:01 |
Reporter: | River Tarnell | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 5.0.51 | OS: | Solaris (Solaris 10 11/06) |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
[10 Dec 2007 21:37]
River Tarnell
[11 Dec 2007 8:43]
Sveta Smirnova
Thank you for the report. Verified as described.
[11 Dec 2007 13:46]
River Tarnell
In the original description, i wrote "CPPFLAGS=". I meant to write "CXXFLAGS=", as that's what I actually used when building the server (I did not set CPPFLAGS).
[14 Dec 2007 18:43]
Daniel Fischer
Reproducing a comment from bug#31268 that deals with building 64 bit binaries on Solaris x86: [4 Dec 15:15] Kent Boortz The problem with "-m64" not passed to "gcc -print-search-paths" seem to be fixed in libtool 1.5.24, at least the code doing this check now handles "multilibs". I think no documentation change is needed for this, unless some hints should be added to the Solaris specific page. The hint would be something like Building a 64-bit binary on Solaris AMD64 with gcc might fail. Not going into why (see bug#31268), you can work around this by forcing the build to be 64-bit o Give "--build=x86_64-pc-solaris2.10" as a configure argument o Give "-m64" part of CFLAGS, CXXFLAGS and LDFLAGS o Configure and run make like % LIBRARY_PATH=/usr/local/lib/amd64 ./configure ..... % LIBRARY_PATH=/usr/local/lib/amd64 gmake
[18 Dec 2007 4:01]
Paul DuBois
Added this bug number to the changelog entry for Bug#31268.