All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Report: compil error on OSX for target=i386
Date: Fri, 4 Sep 2009 13:48:58 +0200	[thread overview]
Message-ID: <20090904114858.GA6825@thorin> (raw)
In-Reply-To: <2EB51E44-E324-4EA0-9928-AC75C0432741@zetam.org>

On Thu, Sep 03, 2009 at 11:01:23PM +0200, Yves Blusseau wrote:
>>
>> It's much easier to make official GCC a build requirement.  People  
>> hacking
>> on GRUB source, or distributors (e.g. Fink) should have no problem  
>> with a
>> dependency on GCC.
>
> So what you can do because currently we can't compil grub on OSX:
>
> gcc-4.2 -Iloader/i386 -I./loader/i386 -I. -I./include -I./include -Wall 
> -W  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                
>   -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 
> -falign-functions=1 -DAPPLE_CC=1 -fnested-functions -m32 
> -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregparm=3 
> -m32 -MD -c -o linux_mod-loader_i386_linux.o loader/i386/linux.c
> loader/i386/linux.c: In function ‘grub_linux_boot’:
> loader/i386/linux.c:546: error: can't find a register in class ‘BREG’  
> while reloading ‘asm’
> loader/i386/linux.c:542: error: ‘asm’ operand has impossible constraints
> loader/i386/linux.c:543: error: ‘asm’ operand has impossible constraints
> loader/i386/linux.c:546: error: ‘asm’ operand has impossible constraints
> make: *** [linux_mod-loader_i386_linux.o] Error 1

I assume you installed Apple's version of GCC.  Can you try with an official
GCC release?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2009-09-04 11:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-08 14:34 Report: compil error on OSX for target=i386 Yves Blusseau
2009-08-08 14:44 ` Bean
2009-08-08 14:47   ` Vladimir 'phcoder' Serbinenko
2009-08-08 14:53     ` Bean
2009-08-10 11:41   ` Robert Millan
2009-08-22 18:00     ` Vladimir 'phcoder' Serbinenko
2009-08-23 11:00       ` Robert Millan
2009-08-23 11:10         ` Vladimir 'phcoder' Serbinenko
2009-08-28 17:29       ` Vladimir 'phcoder' Serbinenko
2009-08-31 21:10         ` Yves Blusseau
2009-09-01 11:46           ` Robert Millan
2009-09-03 21:01             ` Yves Blusseau
2009-09-04 11:48               ` Robert Millan [this message]
2009-09-05 11:47                 ` Yves Blusseau
2009-09-05 20:26                   ` Robert Millan
2009-09-03 21:33             ` Vladimir 'phcoder' Serbinenko
2009-09-04 11:59               ` Robert Millan
2009-09-05 13:17                 ` Michal Suchanek
2009-09-05 20:31                   ` Robert Millan
2009-09-05 20:59                     ` Vladimir 'phcoder' Serbinenko
2009-09-06  4:55                     ` Yves Blusseau
2009-09-06 14:54                       ` Robert Millan
2009-09-06 16:30                         ` Yves Blusseau
2009-09-06 17:17                           ` Vladimir 'phcoder' Serbinenko
2009-09-06 17:51                             ` Yves Blusseau
2009-09-06 18:56                         ` Yves Blusseau
2009-09-06 19:07                           ` Felix Zielcke
2009-09-08 14:41                           ` Robert Millan
2009-09-08 17:38                             ` Yves Blusseau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090904114858.GA6825@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.