Hey J�rg,
this does unfortunately not work either...
vmake 10.02.18 05-01-2004
VMAKE_PATH =/home/sapdb/maxdb-75,
10-06-04 13:02:57 start of collection phase
10-06-04 13:02:59 end of collection phase
10-06-04 13:03:00 start of dbmcli.lnk fast
RTESys_AsmSpinlock.s fast
Assembler: RTESys_AsmSpinlock.s
"RTESys_AsmSpinlock.s", line 7 : Illegal mnemonic
"RTESys_AsmSpinlock.s", line 7 : Syntax error
"RTESys_AsmSpinlock.s", line 8 : Illegal mnemonic
"RTESys_AsmSpinlock.s", line 8 : Syntax error
"RTESys_AsmSpinlock.s", line 9 : Illegal mnemonic
"RTESys_AsmSpinlock.s", line 9 : Syntax error
"RTESys_AsmSpinlock.s", line 19 : Illegal mnemonic
"RTESys_AsmSpinlock.s", line 19 : Syntax error
"RTESys_AsmSpinlock.s", line 20 : Illegal mnemonic
"RTESys_AsmSpinlock.s", line 20 : Syntax error
"RTESys_AsmSpinlock.s", line 21 : Illegal mnemonic
"RTESys_AsmSpinlock.s", line 21 : Syntax error
cc: assembler failed for RTESys_AsmSpinlock.s
Error while executing "cc -c RTESys_AsmSpinlock.s"
message: Ung�ltige Positionierung
COMMAND error 29
'enalib.lib' not made because of dependency errors
'dbmcli.lnk' not made because of dependency errors
10-06-04 13:03:01 end of dbmcli.lnk fast
Here's the vmake generated file:
1 .file "RTESys_AsmSpinlock.s"
2 .align 4
3 .text
4 .globl RTESys_AsmTestAndLock
5 .type RTESys_AsmTestAndLock,@function
6 RTESys_AsmTestAndLock:
7 .movl 4(%esp),%edx
8 .movl (%edx), %eax
9 .movl $1, %ecx
10 _lock_again:
11 lock
12 cmpxchg %ecx,(%edx)
13 jne _lock_again
14 ret
15 .globl RTESys_AsmUnlock
16 .align 4
17 .type RTESys_AsmUnlock,@function
18 RTESys_AsmUnlock:
19 .movl 4(%esp),%edx
20 .movl (%edx), %eax
21 .xorl %ecx,%ecx
22 _unlock_again:
23 lock
*sigh*
The assember does not understand the "movl" - same reason why the original
code does not compile, it seems to have very different semantics here.
http://docs.sun.com/db/doc/806-3773/6jct9o0ad?q=movl&a=view
I think I'll have to search some Intel Solaris assembler guru. Maybe someone
from the Sun/x86 list will help...
SIEGENIA-AUBI KG
Informationswesen
i.A.
Markus D�hr
SAP-CC/BC, SAPDB-DBA
Tel.: +49 6503 917-152
Fax: +49 6503 917-7152
E-Mail: [EMAIL PROTECTED]
Internet: http://www.siegenia-aubi.com
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]