Re: Lock Free Data Structure
- From: Greg Herlihy <greghe@xxxxxxx>
- Date: Sun, 1 Mar 2009 00:08:59 -0800 (PST)
On Feb 28, 1:07 am, "Chris M. Thomasson" <n...@xxxxxxxxxxxx> wrote:
"Chris M. Thomasson" <n...@xxxxxxxxxxxx> wrote in messagenews:n37ql.15764$l71.9067@xxxxxxxxxxxxxxx
"nithesh" <nith...@xxxxxxxxx> wrote in message
news:7883680b-5449-4818-a898-cb274ae89785@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am a beginner in lock free datastructure.. I have downloaded Appcore
source files fromhttp://webpages.charter.net/appcore. appcore has
provided an asm file named ac_i686_masm.asm. This file gives following
compile time error::
ac_i686_atomic_inc_fence redefined
Platform used : Red Hat 3.4.3-9
In case if any one has used appcore please let me know how to compile
the asm file and create so file.
Please let me know other than appcore is there any other lock free
datastructure library available for linux.
No makefile in AppCore. I expect you to be able to work with the sources
files and assemble assembles as is.
BTW, how did you even get GAS to give you a single error? I try to assemble
the MASM file with GAS on several Unix x86-32 archs and I get a boat load of
errors. Here is some of what I get via MingW:
whoot.asm: Assembler messages:
whoot.asm:1: Error: no such instruction: `copyright 2005 Chris Thomasson'
whoot.asm:4: Error: unknown pseudo-op: `.686'
whoot.asm:5: Error: unknown pseudo-op: `.xmm'
whoot.asm:6: Error: unknown pseudo-op: `.model'
whoot.asm:7: Error: unknown pseudo-op: `.code'
,..,
There at least two problems with the assembly source file when
compiling on UNIX. The source file's line endings need to be LF, not
CRLF. Second, the source file contains ".align 16" directives when
"15" (meaning 2^15 or 32,768) is the maximum allowed alignment value.
Presumably, the align directive is attempting to align to a 16-byte
boundary, in which case ".align 4" (2^4 = 16) would be correct.
Greg
.
- Follow-Ups:
- Re: Lock Free Data Structure
- From: George Peter Staplin
- Re: Lock Free Data Structure
- From: Chris Thomasson
- Re: Lock Free Data Structure
- Prev by Date: Re: correct use of mfence
- Next by Date: Re: Lock Free Data Structure
- Previous by thread: Re: Lock Free Data Structure
- Next by thread: Re: Lock Free Data Structure
- Index(es):
Relevant Pages
|
Loading