X-Sender: [EMAIL PROTECTED]
X-Mailer: QUALCOMM Windows Eudora Version 5.0
Date: Fri, 06 Dec 2002 09:20:55 -0700
To: [EMAIL PROTECTED]
From: Mariella Di Giacomo <[EMAIL PROTECTED]>
Subject: --enable-assembler error and MySQL 64 bits compilation error
on Solaris 2.8

Hello,


I have been running MySQL 4.0.5 64 bits on a Sun sun4u sparc SUNW,Sun-Fire-880, Solaris 2.8.
I have been using the binary version that MySQL provides.

Yesterday I have downloaded the Solaris tar ball to compile the MySQL source code and change
the myisam block size.
I have the Solaris compiler cc: Sun WorkShop (Fort) 6 update 2 C 5.3 2001/05/15
and I wanted to use that because it is suppose to create a faster executable than gcc.


I have followed the instructions that are provided for the Solaris compilation and cc Forte
which are

CC=cc CFLAGS="-Xa -fast -native -xstrconst -mt -xarch=v9" \
CXX=CC CXXFLAGS="-noex -mt -xarch=v9" \
./configure --prefix=/usr/local/mysql --enable-assembler


At the certain point I get the following error:


Making all in strings
/usr/ccs/bin/as -O -DDBUG_OFF -Xa -fast -native -xstrconst -mt -xarch=v9 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/root/mysql/mysql-4.0.5a-beta/include -DHAVE_RWLOCK_T -o bmove_upp-sparc.o bmove_upp-sparc.s
/usr/ccs/bin/as: error: unknown option 'O'
/usr/ccs/bin/as: error: unknown option 'X'
/usr/ccs/bin/as: error: unknown option 'a'
/usr/ccs/bin/as: error: unknown option 'f'
/usr/ccs/bin/as: error: unknown option 'ast'
/usr/ccs/bin/as: error: unknown option 'ative'
/usr/ccs/bin/as: error: unknown option 'xstrconst'
/usr/ccs/bin/as: error: unknown option 't'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusb] [-xarch=v9] [-xarch=v9a] [-xarch=v9b] [-xcode={pic13,pic32}] file.s...
*** Error code 1
make: Fatal error: Command failed for target `bmove_upp-sparc.o'
Current working directory /root/mysql/mysql-4.0.5a-beta/strings
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/mysql/mysql-4.0.5a-beta
*** Error code 1
make: Fatal error: Command failed for target `all'


/usr/ccs/bin/as does not have those options and I could not find a patch for as.


I can get things compiled only If I do not specify --enable-assembler



CC=cc CFLAGS="-Xa -fast -native -xstrconst -mt -xarch=v9" \
CXX=CC CXXFLAGS="-noex -mt -xarch=v9" \
./configure --prefix=/usr/local/mysql


So my questions:
Do you know why ? Is there an error in the configure script ? or I cannot compile
with --enable-assembler because in the system "Use assembler versions of some string
functions" is not available ?

If that is the case, is there any work around that I could use to compile with
--enable-assembler ?
If I cannot use --enable-assembler, which is the percentage of Performance I may lose ?


Thanks a lot for your help,

Mariella



---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to