All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] grub2
Date: Mon, 19 May 2014 10:34:07 +0200	[thread overview]
Message-ID: <20140519103407.42306263@free-electrons.com> (raw)
In-Reply-To: <5379BBC5.5020202@ebo-enterprises.com>

Dear Tom Deblauwe,

On Mon, 19 May 2014 10:07:33 +0200, Tom Deblauwe wrote:

>   I am trying to build grub2 with the platform as x86-64-efi. I am
> building on Ubuntu 14.04 64bit. My target is i386 atom. This works when
> I use an external toolchain from Sourcery codebench 2012.09.
> 
>   But when I try to build with an internal buildroot toolchain it fails
> on the grub2 configure step with an error about gcc not having the
> "-mcmodel=large" support. I tried gcc 4.9 and 4.8 and they both didn't
> have it compiled in apparently. I have enabled the
> BR2_TOOLCHAIN_BUILDROOT_LARGEFILE support so I guessed that was ok then
> but it's not working.
> 
>   I checked out the master of today, then set the compiler, and then did
> an "make toolchain" and then "make grub2". So it's a clean build.
> What could be wrong with this?

Can you share your Buildroot .config ?

You say that your target is i386 Atom, so I believe you've selected
i386 as the architecture. So that's 32 bits.

On the other hand, you say you've selected x86-64-efi as the grub2
platform. That's 64 bits.

It might be where the problem lies.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-05-19  8:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19  8:07 [Buildroot] grub2 Tom Deblauwe
2014-05-19  8:34 ` Thomas Petazzoni [this message]
2014-05-19  8:56   ` Tom Deblauwe
  -- strict thread matches above, loose matches on Subject: below --
2017-06-02  3:11 [Buildroot] Grub2 skenton at ou.edu
2017-06-02 11:37 ` Erico Nunes
2014-05-19  7:59 [Buildroot] grub2 Tom Deblauwe

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=20140519103407.42306263@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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.