Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N5Jn6-0005ld-AY for mharc-grub-devel@gnu.org; Tue, 03 Nov 2009 08:51:21 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5Jn3-0005kP-9x for grub-devel@gnu.org; Tue, 03 Nov 2009 08:51:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5Jmx-0005ha-Q2 for grub-devel@gnu.org; Tue, 03 Nov 2009 08:51:16 -0500 Received: from [199.232.76.173] (port=55965 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Jmx-0005hN-8y for grub-devel@gnu.org; Tue, 03 Nov 2009 08:51:11 -0500 Received: from hel.is.scarlet.be ([193.74.71.26]:34267) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5Jmw-0002TE-NQ for grub-devel@gnu.org; Tue, 03 Nov 2009 08:51:11 -0500 Received: from webmail.scarlet.be (gresham.is.scarlet.be [193.74.71.215]) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id nA3Dp7uG005389 for ; Tue, 3 Nov 2009 14:51:08 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=scarlet.be; s=scarlet; t=1257256268; bh=F/FrtAGigPJvefE/Ff52rhTpMrUB8vjR9NfKd0G0yVo=; h=MIME-Version:Date:From:To:Subject:In-Reply-To:References: Message-ID:Content-Transfer-Encoding:Content-Type; b=mIyCJHcTWO+978mNLwdAP7VcllsVcWmxRMAH1LKkfEEjt5Aty5xJIEGmOv5UTYL6C zTprxR2Omsb4Q/m69t7oFavx4RkVjuGTcfAi3Q5W/MCuIH3p5LcDh9ZOiWYEDW72E+ ov5k1kdhxGXEnTWbcu762QoA3Ja3aSLN4GNhhmUU= MIME-Version: 1.0 Received: from 57-67-177-38.mastercard.com [57.67.177.38] with HTTP/1.1 (POST); Tue, 03 Nov 2009 14:51:07 +0100 Date: Tue, 03 Nov 2009 14:51:07 +0100 From: rubisher To: The development of GRUB 2 In-Reply-To: <1257244422.3366.2.camel@fz.local> References: <1251463992.2547.24.camel@fz.local> <20090828162828.GB14976@thorin> <1251482319.2547.48.camel@fz.local> <20090828235514.GA17856@thorin> <1251532275.2624.2.camel@fz.local> <1257089982.3407.1.camel@fz.local> <20091101220443.GA10713@thorin> <1257152083.3220.0.camel@fz.local> <3dcabc6941f94354cfb8f8ba8422a07d@scarlet.be> <1257244422.3366.2.camel@fz.local> Message-ID: <9780cc18280c05eadda3ae88117390eb@scarlet.be> X-Sender: rubisher@scarlet.be User-Agent: Scarlet Webmail Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-DCC-scarlet.be-Metrics: hel 20001; Body=1 Fuz1=1 Fuz2=1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATH] grub-mkrelpath 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: Tue, 03 Nov 2009 13:51:17 -0000 On Tue, 03 Nov 2009 11:33:42 +0100, Felix Zielcke wrote: > Am Dienstag, den 03.11.2009, 11:21 +0100 schrieb rubisher: >> Hello Felix, >> >> On Mon, 02 Nov 2009 09:54:43 +0100, Felix Zielcke >> wrote: >> > Am Sonntag, den 01.11.2009, 23:04 +0100 schrieb Robert Millan: >> >> On Sun, Nov 01, 2009 at 04:39:42PM +0100, Felix Zielcke wrote: >> >> > >> >> > I added now a comment that this shouldn't ever happen. >> >> > >> >> > New version avaible at >> >> > bzr+ssh://bzr.savannah.gnu.org/grub/people/fzielcke/mkrelpath >> >> >> [snip] >> >> I am trying to build your mkrelpath branch on my ppc with debian gcc-4.4 >> latest unstable release 4.4.2-1 and failed to build as far as I >> understand >> because isystem syntax is not correct; following diff help me to complete >> the build: > > Which is the same as in trunk. right no issue to compile trunk 2676 but as following way (svn 2676): [snip] gcc-4.4 -Icommands -I/SrcTree/grub2-svn2676/commands -isystem=/SrcTree/grub2-svn2676/include -I/SrcTree/grub2-svn2676/include -I. -I./include -Wall -W -O0 -m32 -fno-stack-protector -Werror -ffreestanding -MD -c -o halt_mod-commands_halt.o /SrcTree/grub2-svn2676/commands/halt.c [snip] > >> === <> === >> (i.e. I have to rm '=' between isystem and its arg) >> >> I don't know if it's specific to ppc arch, sorry. >> > > Seems so, because on amd64 it works fine. > The docs say: > > -isystem dir > Search dir for header files, after all directories specified by > -I but before the standard system directories. Mark it as a > system directory, so that it gets the same special treatment as > is applied to the standard system directories. If dir begins > with =, then the = will be replaced by the sysroot prefix; see > --sysroot and -isysroot. > > So it should be valid. > Maybe with a space between -isystem and = it works for you too. Unfortunately not but to give more details, here is how it failed (mkrelpath tree 1802) [snip] gcc-4.4 -Icommands -I/SrcTree/grub2-fzibzr1802/commands -isystem=/SrcTree/grub2-fzibzr1802/include -I. -I./include -Wall -W -O0 -m32 -fno-stack-protector -Werror -ffreestanding -MD -c -o halt_mod-commands_halt.o /SrcTree/grub2-fzibzr1802/commands/halt.c /Sources/jso/Grub2.deb/grub2-fzibzr1802/commands/halt.c:20:21: error: grub/dl.h: No such file or directory /Sources/jso/Grub2.deb/grub2-fzibzr1802/commands/halt.c:22:26: error: grub/command.h: No such file or directory In file included from /Sources/jso/Grub2.deb/grub2-fzibzr1802/commands/halt.c:25: ./include/grub/machine/kernel.h:22:25: error: grub/symbol.h: No such file or directory In file included from /Sources/jso/Grub2.deb/grub2-fzibzr1802/commands/halt.c:25: ./include/grub/machine/kernel.h:26: error: 'EXPORT_FUNC' declared as function returning a function cc1: warnings being treated as errors [snip] so here no more "-I/SrcTree/grub2-svn2676/include" as in svn trunk, though. > But now that I read that I'm not so sure we actually should use = I will check first how it boot, then check a bit further. Tx, J.