From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FYfgG-0008H1-UB for mharc-grub-devel@gnu.org; Wed, 26 Apr 2006 04:47:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYfgE-0008Fa-D9 for grub-devel@gnu.org; Wed, 26 Apr 2006 04:47:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYfgD-0008F3-GF for grub-devel@gnu.org; Wed, 26 Apr 2006 04:47:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYfgD-0008Ev-4n for grub-devel@gnu.org; Wed, 26 Apr 2006 04:47:25 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYfir-00008A-Lv for grub-devel@gnu.org; Wed, 26 Apr 2006 04:50:09 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 44C453C822E28; Wed, 26 Apr 2006 12:06:40 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id E51973C822E27; Wed, 26 Apr 2006 12:06:38 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: FSF To: Hollis Blanchard Date: Wed, 26 Apr 2006 10:47:21 +0200 User-Agent: KMail/1.8.2 References: <2b1a8b979a9e3455b8ff38c6fe24d2de@penguinppc.org> In-Reply-To: <2b1a8b979a9e3455b8ff38c6fe24d2de@penguinppc.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604261047.21806.okuji@gnu.org> X-Bogosity: No, tests=bogofilter, spamicity=0.500001, version=0.17.2 Cc: The development of GRUB 2 Subject: Re: --enable-mm-debug breakage X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 08:47:26 -0000 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