[Buildroot] x86_64 and grub
Thomas De Schampheleire
patrickdepinguin+buildroot at gmail.com
Mon Oct 24 11:42:45 UTC 2011
On Mon, Oct 24, 2011 at 1:18 PM, Rickard Lind <rille at tutus.se> wrote:
> I'm using buildroot-2011.08 with a x86_64 target to build an ext2 image and I would like to include grub, but building grub fails when linking for not finding libgcc. I think this is because grub wants to be built 32 bit (presumably something to do with booting) and gcc is only built with a 64 bit libgcc due to the --disable-multilib configure option. I tried to remove the --disable-multilib option but then the gcc build dies with "cannot find -lc" while building libgcc.
I'd expect you need to recompile the c library as well for 32-bit.
(doesn't it say something like: "Skipping incompatible <...> while
searching for -lc" ?)
>I switched from the default gcc to the latest (4.6.1) but that made no difference. I could not find anything in the bugzilla; is there some workaround or should I file a bug? Or am I doing something wrong?
More information about the buildroot