All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Kenton <skenton@ou.edu>
To: buildroot@busybox.net
Subject: [Buildroot] Fwd: Re:  grub2 failure with gcc-4.9
Date: Thu, 19 Feb 2015 10:03:24 -0600	[thread overview]
Message-ID: <54E6094C.40505@ou.edu> (raw)
In-Reply-To: <54E60541.3030801@free.fr>

On 02/19/2015 09:46 AM, Thierry Bultel wrote:

>>>>  ... grub hangs.
>> I'm not sure if it's related but I think we are mixing host and
>> target grub2. When you run ~output/host/usr/sbin/grub-install
>> any scripts it runs such as grub-mkimage are run from the
>> build hosts /usr/... and not buildroot HOSTDIR or TARGETDIR
>> I have been getting elf header mismatches which I think are
>> differences between grub 2.00 and grub 2.01-beta
> 
> Thanks Steve,
> 
> FYI,
> I am not using grub-install, but instead:
> 
> sudo ./host/usr/sbin/grub-bios-setup \
> -b ./host/usr/lib/grub/i386-pc/boot.img \
> -c ./images/grub.img -d . /dev/sde
> 
> I have notified the grub mailing list, this seems to be an unknown issue and I need to fill a bug report. (and first try with 2.01-beta ...)
> 
> Thierry
> 
Yep, that's the correct way, I just wanted to mention that grub-install
is an easy trap to fall into if you let your fingers run on auto-pilot.
And it can produce subtle and hard to recognize problems which sounded
familiar :-)

Steve

  reply	other threads:[~2015-02-19 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54D39F5A.2010403@ou.edu>
2015-02-05 18:44 ` [Buildroot] Fwd: Re: grub2 failure with gcc-4.9 Steve Kenton
2015-02-19 15:46   ` Thierry Bultel
2015-02-19 16:03     ` Steve Kenton [this message]
2015-02-20 16:34       ` [Buildroot] " tbultel at free.fr

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=54E6094C.40505@ou.edu \
    --to=skenton@ou.edu \
    --cc=buildroot@busybox.net \
    /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.