Bug#760428: grub2: FTBFS on x32: error: gcc-4.9 failed to produce assembly code
Daniel Schepler
dschepler at gmail.com
Sat Sep 6 16:06:06 UTC 2014
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.
--
Daniel Schepler
More information about the Pkg-grub-devel
mailing list