Bug #16790 | Compilation fails using Sun Studio compilers on file ha_archive.cc | ||
---|---|---|---|
Submitted: | 25 Jan 2006 20:16 | Modified: | 9 Feb 2006 11:23 |
Reporter: | Daniel Rugotzke | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.18 | OS: | Solaris (Solaris 9 SPARC) |
Assigned to: | CPU Architecture: | Any |
[25 Jan 2006 20:16]
Daniel Rugotzke
[9 Feb 2006 11:23]
Valeriy Kravchuk
Thank you for a problem report. Sorry, but I was not able to repeat the problem you described on our Solaris 9 SPARC: bash-2.05$ $CC -V cc: Sun C 5.6 2004/07/15 usage: cc [ options] files. Use 'cc -flags' for details bash-2.05$ uname -a SunOS butch 5.9 Generic_118558-09 sun4u sparc SUNW,UltraAX-i2 5.0.18 just compiled successfully on this machine using the following commands: export PATH=/export/home/mysqldev/butch-64bit/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/local/bin:/usr/bin:/usr/xpg4/bin:/usr/sbin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin:/usr/ucb:/opt/SUNWspro/bin export CC=cc-5.0 CXX=CC ASFLAGS=-xarch=v9 CFLAGS="-xO3 -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9" CXXFLAGS="-xO3 -noex -mt -D_FORTEC_ -xarch=v9" LDFLAGS=-xarch=v9 ./configure --prefix=/users/vkravchuk/dbs/5.0-butch --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --with-named-curses-libs=-lcurses --with-innodb --with-archive-storage-engine make This is how it usually compiles (subset of options for compiling -Max verison of MySQL binaries). I have no machines to compile with other versions of Sun Studio on SPARC now.