Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JK8iz-0002RP-US for mharc-grub-devel@gnu.org; Wed, 30 Jan 2008 03:55:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JK8iy-0002RA-I8 for grub-devel@gnu.org; Wed, 30 Jan 2008 03:55:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JK8iw-0002Q1-08 for grub-devel@gnu.org; Wed, 30 Jan 2008 03:55:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JK8iv-0002Pq-Q3 for grub-devel@gnu.org; Wed, 30 Jan 2008 03:55:13 -0500 Received: from smtp-vbr16.xs4all.nl ([194.109.24.36]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JK8iv-0006ky-AS for grub-devel@gnu.org; Wed, 30 Jan 2008 03:55:13 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0U8t9EP064783 for ; Wed, 30 Jan 2008 09:55:10 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080126172120.GA4119@thorin> <1201378308.10461.10.camel@k9.localnet> <20080127085650.GB11381@thorin> <20080129053051.GY1341@kirkkit.kollasch.net> <20080129134707.GF27435@thorin> <20080130003750.GB1341@kirkkit.kollasch.net> Mail-Copies-To: mgerards@xs4all.nl Date: Wed, 30 Jan 2008 09:56:45 +0100 In-Reply-To: <20080130003750.GB1341@kirkkit.kollasch.net> (jakllsch@kollasch.net's message of "Tue, 29 Jan 2008 18:37:50 -0600") Message-ID: <87zlunk7xu.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: Compiling grub2 on *BSD? 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, 30 Jan 2008 08:55:16 -0000 jakllsch@kollasch.net writes: [...] >> Maybe we need another flag? Could you check the link command in NetBSD's >> kernel ? > > I couldn't find anything that looked like it would fix this. > > I believe the reason that NetBSD's own code isn't affected by this is > because they (apparently) do not use nested functions in > their stand-alone code. > > I did see OpenBSD had a -ftrampolines flag, I'm not quite sure what > it exactly does, but it may be related to this. It is, trampolines are used to implement nested functions in cases like ours. -- Marco