Bug#760428: grub2: FTBFS on x32: error: gcc-4.9 failed to produce assembly code
Colin Watson
cjwatson at debian.org
Sat Sep 6 17:16:45 UTC 2014
On Sat, Sep 06, 2014 at 09:06:06AM -0700, Daniel Schepler wrote:
> On Fri, Sep 5, 2014 at 5:04 AM, Colin Watson <cjwatson at debian.org> wrote:
> > This is handled a bit baroquely, but does this patch work for you? To
> > test it, you should just be able to unpack a fresh source package, apply
> > this patch, and run "debian/rules debian/stamps/build-grub-emu".
>
> Nope, it doesn't work -- even though putting debugging echos in shows
> that it's getting executed. I also tried removing -m64 from the
> -mcmodel=large test, and it got a compiler error (really a warning
> with -Werror) about a comparison being meaningless because of types.
> I also tried adding -m64 along with -mcmodel=large in that test, and
> that resulted in a linker error.
>
> On the other hand, I'm not that concerned with getting grub-emu to
> work, more with grub-pc and maybe grub-efi. If I remove the emu entry
> from debian/rules and change Architecture on grub-emu and grub-emu-dbg
> to any-i386 amd64 kfreebsd-amd64 any-powerpc, then the other builds
> work fine and the grub-pc tests pass.
Hm, OK. I'd prefer to get grub-emu to work, really. Fortunately my
current kernel has x32 support, so let me create a chroot and have a
play around ...
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-grub-devel
mailing list