kdecore/malloc doesn't compile
Lubos Lunak
l.lunak at sh.cvut.cz
Thu Apr 18 22:11:13 BST 2002
On čt 18. duben 2002 21:43, Malte Starostik wrote:
> ../../../../kdelibs/kdecore/malloc/malloc.c: In function `unlock':
> ../../../../kdelibs/kdecore/malloc/x86.h:40: inconsistent operand
> constraints in an `asm'
> ../../../../kdelibs/kdecore/malloc/malloc.c: At top level:
> ../../../../kdelibs/kdecore/malloc/malloc.c:4614: warning: `mSTATs' defined
> but not used
> make: *** [malloc.lo] Error 1
I can't reproduce it. What configure options, gcc compile options, and gcc
version?
>
> What is this for?:
> __asm __volatile ("" : "=m" (m->lock) : "0" (m->lock));
Spinlock unlocking, copy&pasted from glibc CVS, and this hasn't changed for
some time. I'm not sure what could be wrong with it. You can disable
compilation of this with --disable-fast-malloc.
--
Lubos Lunak
llunak at suse.cz ; l.lunak at kde.org
http://dforce.sh.cvut.cz/~seli
More information about the kde-core-devel
mailing list