Re: Lock Free Data Structure



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


.



Relevant Pages

  • Re: Lock Free Data Structure
    ... In case if any one has used appcore please let me know how to compile ... sources files and assemble assembles as is. ... There at least two problems with the assembly source file when ... the align directive is attempting to align to a 16-byte ...
    (comp.programming.threads)
  • Re: .class file source dependency
    ... I change one .java source file. ... In others, the other class is still okay, but the bytecode generated for it will change - the old bytecode won't work, the source code will compile, and the new source code will work. ... public static void main(String... ...
    (comp.lang.java.programmer)
  • Re: Looking for a free basic compiler for DOS
    ... mother of an ide file - and created separate source files for each SUB ... big to compile in one bc step. ... the source for all the SUBS in the same source file. ...
    (comp.lang.basic.misc)
  • Re: disabling parse error in gcc
    ... typedef struct MYSTRUCT{ ... it will compile correctly. ... A header file shall permit multiple inclusion of itself. ... so that a source file containing only TWO #includes of it will compile, ...
    (comp.unix.programmer)
  • Re: A funny yet crazy extreme test on Delphi 7 compiler
    ... The RAM is 1G. ... A project with a major source file names TestCase.pas. ... Delphi can compile crazy functions with 999 parameters. ...
    (borland.public.delphi.non-technical)

Loading