Compling Samba-2.2.5 with spinlocks using Sun Forte C
davecb at canada.sun.com
Tue Aug 6 08:14:01 GMT 2002
Adrian LEE wrote:
> > The code in tdb/spinlock.c related to spin locking on Sparc uses asm
> > directives. This module won't compile with Sun Forte C compiler.
> > If you have a patch or similar, or point out I've forgotten to use
> > a compiler option, to help my solve this problem, it would be
> > much appreciated.
Andrew Bartlett wrote:
> Why do you need spinlocks? The asm stuff is only compiled when we have
> that option specified...
The standard locks are reccomended, is there a
problem with them on your site?
David Collier-Brown, | Always do right. This will gratify
Performance & Engineering | some people and astonish the rest.
Americas Customer Engineering, | -- Mark Twain
(905) 415-2849 | davecb at canada.sun.com
More information about the samba-technical