Vladislav,

gcc-2.96 does not compile the assembly while 2.95 and
3.0 do. But the asm code is actually not needed. You
can just comment out the two offending functions in
mysql/innobase/sync/sync0sync.c.

Regards,

Heikki
http://www.innodb.com

>There is a problem with mysql-3.23.41
>when compiled by gcc-2.96-85 (RedHat)
>
>
>gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -DDBUG_OFF
-O3 
>-DDBUG_OFF  -O3   -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:1259: confused by earlier errors, bailing out
>make[4]: *** [sync0sync.o] Error 1
>make[4]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.41/innobase/sync'
>make[3]: *** [all-recursive] Error 1
>make[3]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.41/innobase'
>make[2]: *** [all-recursive-am] Error 2
>make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.41/innobase'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.41'
>make: *** [all-recursive-am] Error 2
>error: Bad exit status from /var/tmp/rpm-tmp.89103 (%build)
>
>



---------------------------------------------------------------------
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