Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FYXbl-000434-0Q for mharc-grub-devel@gnu.org; Tue, 25 Apr 2006 20:10:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYXbh-00042T-So for grub-devel@gnu.org; Tue, 25 Apr 2006 20:10:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYXbg-000423-EE for grub-devel@gnu.org; Tue, 25 Apr 2006 20:10:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYXbg-000420-8t for grub-devel@gnu.org; Tue, 25 Apr 2006 20:10:12 -0400 Received: from [209.86.89.66] (helo=elasmtp-spurfowl.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYXeE-0001w2-Nt; Tue, 25 Apr 2006 20:12:50 -0400 Received: from [63.246.184.80] (helo=[192.168.0.102]) by elasmtp-spurfowl.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1FYXbe-0007ib-QP; Tue, 25 Apr 2006 20:10:10 -0400 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2b1a8b979a9e3455b8ff38c6fe24d2de@penguinppc.org> Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Tue, 25 Apr 2006 19:10:05 -0500 To: "Yoshinori K. Okuji" X-Mailer: Apple Mail (2.623) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec790f911fe91519c7b8ac9fbe0e26684d38350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 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 00:10:14 -0000 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". 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. I will resist the urge to do this until you're able to comment. -Hollis