lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/10] Kernel memory leak detector 0.8
On 11/07/06, Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> On 11/07/06, Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> > Hi Catalin,
> >
> > On 11/07/06, Catalin Marinas <catalin.marinas@gmail.com> wrote:
> > > This is a new version (0.8) of the kernel memory leak detector. See
> > > the Documentation/kmemleak.txt file for a more detailed
> > > description. The patches are downloadable from (the whole patch or the
> > > broken-out series):
> > >
> > > http://homepage.ntlworld.com/cmarinas/kmemleak/patch-2.6.18-rc1-kmemleak-0.8.bz2
> > > http://homepage.ntlworld.com/cmarinas/kmemleak/patches-kmemleak-0.8.tar.bz2
> > >
> >
> > Unfortunately, it doesn't compile for me.
> >
> > make O=/dir
> > [..]
> > CC arch/i386/kernel/alternative.o
> [snip]
>
> When I set DEBUG_KEEP_INIT=n everything works fine.

I was wrong. Here is the new error
/usr/src/linux-work4/kernel/pid.c: In function 'pid_task':
/usr/src/linux-work4/kernel/pid.c:262: error: initializer element is
not constant
/usr/src/linux-work4/kernel/pid.c:262: error: (near initialization for
'__memleak_offset__container_of.offset')
make[2]: *** [kernel/pid.o] Error 1
make[1]: *** [kernel] Error 2
make: *** [_all] Error 2

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 14:55    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site