Bug #3832 Compile(configure) problem with x86 and Solaris
| Submitted: | 20 May 2004 0:40 | Modified: | 7 Jul 2004 12:24 |
|---|---|---|---|
| Reporter: | Tim Spriggs | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
| Version: | 4.0.18 | OS: | Solaris (Solaris 9 (x86)) |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[29 May 2004 4:32]
Matthew Lord
Seems to be related to tcsh environment. I did not having a problem using bash but can repeat the problem using tcsh. I am looking into this further to locate the specific problem.
[29 May 2004 5:03]
Matthew Lord
By adding /usr/local/bin to the PATH environment variable I was unable to reproduce the problem. Seems to be a problem with /usr/ucb/cc which is the default compiler in the default tcsh env. Is the problem our configure script or the compiler?
[7 Jun 2004 12:24]
Per-Erik Martin
>(tcsh) > >set CC="cc-5.0" >set CXX="CC" >set ASFLAGS="-xarch=386" >set CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ -xarch=386" >set CXXFLAGS="-noex -mt -D_FORTEC_ -xarch=386" This is not [t]csh syntax. Or rather, it is, but it sets local variables, not environment variables. (It corresponds to "VAR=..." without export in sh.) The csh syntax for setting (exported) environment variables is "setenv VAR value", e.g. "setenv CXX CC". Please try this, and tell me if it's still a problem.
[14 Feb 2005 22:54]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: When trying to compile under Solaris 9 (and 10) on x86 hardware, the configure system automatically assumes 64-bit availability when in fact 64 bits is only available for AMD and SPARC based systems. When building using sun's Studio 8 compilers the make fails while running "as". How to repeat: Download mysql-4.0.18 source and extract. (tcsh) set CC="cc-5.0" set CXX="CC" set ASFLAGS="-xarch=386" set CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ -xarch=386" set CXXFLAGS="-noex -mt -D_FORTEC_ -xarch=386" ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex \ --enable-thread-safe-client --enable-local-infile \ --enable-assembler --with-named-z-libs=no \ --enable-thread-safe-client --disable-shared \ && make Suggested fix: Make 64-bit an option during configure.