[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: --enable-mm-debug breakage
From: |
Yoshinori K. Okuji |
Subject: |
Re: --enable-mm-debug breakage |
Date: |
Wed, 26 Apr 2006 10:47:21 +0200 |
User-agent: |
KMail/1.8.2 |
On Wednesday 26 April 2006 02:10, Hollis Blanchard wrote:
> On Apr 25, 2006, at 3:08 PM, Yoshinori K. Okuji wrote:
> > Also, this change adds an
> > intensive debugging feature for the memory manager via the
> > configure option "--enable-mm-debug".
>
> I fixed the breakage from renaming "abort".
Thank you.
> However, the build is now broken when not using --enable-mm-debug:
> grubof_symlist.c: In function 'grub_register_exported_symbols':
> grubof_symlist.c:134: error: 'grub_debug_malloc' undeclared (first use
> in this function)
>
> Given gensymlist.sh, I can see two ways to solve this problem:
> 1) Provide empty stubs for those debug functions.
> 2) Use the regular debugging infrastructure, as I mentioned before.
> That is what is was designed for, so it seems to be the obvious
> solution. grub_mm_debug(), which has no callers, is the only function
> that won't fit.
>
No, this problem happens only because grubof_symlist.c is not regenerated when
you rerun configure. That is, this is a dependency problem in the Makefile.
Okuji