Trond Eivind Glomsrod writes:
> >Description:
>
> mysql 3.23.41 doesn't build properly on IA32 with assembly and innobase enabled.
> 3.23.40 didn't have this problem
>
> Configure statement in spec file ("%configure" is a standard rpm macro, specifying
> CFLAGS and CXXFLAGS and various prefixes)
>
> %configure --without-debug \
> --without-readline \
> --enable-shared \
> --with-extra-charsets=complex \
> --with-bench \
> --localstatedir=/var/lib/mysql \
> --with-unix-socket-path=/var/lib/mysql/mysql.sock \
> --with-mysqld-user="mysql" \
> --with-extra-charsets=all \
> --with-innodb \
> --enable-assembler \
> --with-berkeley-db --enable-large-files=yes --enable-largefile=yes \
> --with-thread-safe-client
>
> results in:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include -DDBUG_OFF -O3
>-DDBUG_OFF -O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=
> 64 -D_LARGEFILE_SOURCE -DDEBUG_OFF -DUNIV_INTEL_X86 -c sync0sync.c
> sync0sync.c: In function `sync_gnuc_intelx86_test_and_set':
> sync0sync.c:187: impossible register constraint in `asm'
> sync0sync.c:187: impossible register constraint in `asm'
> sync0sync.c:187: impossible register constraint in `asm'
> sync0sync.c: In function `sync_gnuc_intelx86_reset':
> sync0sync.c:202: impossible register constraint in `asm'
> sync0sync.c:202: impossible register constraint in `asm'
> sync0sync.c:202: impossible register constraint in `asm'
> make[4]: *** [sync0sync.o] Error 1
> make[4]: Leaving directory `/tmp/32683-i386/BUILD/mysql-3.23.41/innobase/sync'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/32683-i386/BUILD/mysql-3.23.41/innobase'
Hi!
This one is for Heikki to answer, but seems that your version of GCC
imposes some constraints that previous versions, and for that matter
3.0 do not.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
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