From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MkN5p-0007rm-5j for mharc-grub-devel@gnu.org; Sun, 06 Sep 2009 15:08:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkN5n-0007r5-FK for grub-devel@gnu.org; Sun, 06 Sep 2009 15:08:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkN5i-0007oj-MB for grub-devel@gnu.org; Sun, 06 Sep 2009 15:08:03 -0400 Received: from [199.232.76.173] (port=48780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkN5i-0007og-Hm for grub-devel@gnu.org; Sun, 06 Sep 2009 15:07:58 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:57211) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkN5h-0004m6-Sg for grub-devel@gnu.org; Sun, 06 Sep 2009 15:07:58 -0400 Received: from [85.180.47.88] (e180047088.adsl.alicedsl.de [85.180.47.88]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKt2u-1MkN5g49BG-000RvU; Sun, 06 Sep 2009 21:07:57 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: References: <20090810114103.GG9344@thorin> <20090901114643.GB25290@thorin> <20090904115930.GB6825@thorin> <20090905203158.GB14485@thorin> <244FA39F-B89C-4233-8860-2EC26392A585@zetam.org> <20090906145456.GA3548@thorin> Content-Type: text/plain; charset="UTF-8" Date: Sun, 06 Sep 2009 21:07:56 +0200 Message-Id: <1252264076.3895.88.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.27.91 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V01U2FsdGVkX1/7egNDHN/KayLOAM/5pNQcSd9z8R3dyiCi15B Miq2y+P75QgS1mFDtVHHWyg9Et0eeOY6PiYr1xAhMKgy57uPBu sXT9rJewtDy0l034bEHY9puKIFsSJPg X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Report: compil error on OSX for target=i386 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: Sun, 06 Sep 2009 19:08:03 -0000 Am Sonntag, den 06.09.2009, 20:56 +0200 schrieb Yves Blusseau: > Le 6 sept. 09 =C3=A0 16:54, Robert Millan a =C3=A9crit : >=20 > > On Sun, Sep 06, 2009 at 06:55:41AM +0200, Yves Blusseau wrote: > >> > >> Le 5 sept. 09 =C3=A0 22:31, Robert Millan a =C3=A9crit : > >> > >>> On Sat, Sep 05, 2009 at 03:17:58PM +0200, Michal Suchanek wrote: > >>>> > >>>> Still the time and space required to build GCC is much larger than > >>>> that required for building grub. The OS X platform is somewhat =20 > >>>> exotic > >>>> because it uses different object format and non-gnu linker so it is > >>>> more likely there will be issues with building GCC. Since the =20 > >>>> time I > >>>> tried GCC is no longer self-containded but relies on additional > >>>> libraries that have to be installed separately so the user has to > >>>> compile several interdependent packages from source which certainly > >>>> requires more planning than just building a single package. > >>> > >>> Is there no simple mechanism for installing software on MacOS ? =20 > >>> E.g. > >>> on > >>> Debian one would just use apt-get. I heard about the Fink project, > >>> although I haven't used it myself. > >> > >> On MacOS you can install external program by compiling it with =20 > >> software > >> like Fink or MacPorts (http://www.macports.org/) > > > > I see that "gcc44" is listed there (as well as "apple-gcc42" for =20 > > Apple's > > version which we're already "aquainted" with). > > > > So I take it that we can direct MacOS users to this repository, and =20 > > they > > would be able to install a working GCC from it? >=20 > Bad news grub not compiled on a GCC 4.4.1 from MacPorts: >=20 > gcc-mp-4.4 -Iloader/i386 -I./loader/i386 -I. -I./include -I./include -=20 > Wall -W -Wall -W -Wshadow -Wpointer-arith -Wmissing-=20 > prototypes -Wundef -Wstrict-prototypes -g -Os -falign-=20 > jumps=3D1 -falign-loops=3D1 -falign-functions=3D1 -fno-dwarf2-cfi-asm -=20 > DAPPLE_CC=3D1 -m32 -fno-stack-protector -mno-stack-arg-probe -fno-=20 > builtin -mrtd -mregparm=3D3 -m32 -MD -c -o linux_mod-loader_i386_linux.o = =20 > loader/i386/linux.c > 20:16loader/i386/linux.c: In function 'grub_linux_boot': > 20:16loader/i386/linux.c:546: error: can't find a register in class =20 > 'BREG' while reloading 'asm' > 20:16loader/i386/linux.c:546: error: 'asm' operand has impossible =20 > constraints > 20:16make: * [linux_mod-loader_i386_linux.o] Error 1 >=20 > MacPorts don't use specific patch to build gcc so i think the behavior =20 > is coded somewhere in the gcc source code. >=20 Exactly that line (well s/gcc-mp-4.4/gcc-4.4/) works fine with the Debian gcc 4.4.1-3 which is actually a SVN snapshot from 20090822 --=20 Felix Zielcke Proud Debian Maintainer