Bug#762307: grub2: FTBFS on mipsel: objcopy:none_decompress.img[.text]: File truncated

Colin Watson cjwatson at debian.org
Tue Sep 23 16:04:33 UTC 2014


On Sun, Sep 21, 2014 at 01:39:29AM +0200, Cyril Brulebois wrote:
> your package started FTBFSing on mipsel with 2.02~beta2-12, confirmed on
> 2.02~beta2-13. Hopefully pasting the right lines, sorry if the parallel
> build makes that inaccurate:
> | gcc-4.9 -DHAVE_CONFIG_H -I. -I../../../grub-core -I..  -Wno-unused-but-set-variable -Wall -W -I../../../include -I../include  -DGRUB_CPU_MIPSEL=1 -DGRUB_MACHINE_MIPS_LOONGSON=1 -DGRUB_MACHINE=MIPS_LOONGSON -nostdinc -isystem /usr/lib/gcc/mipsel-linux-gnu/4.9/include -DGRUB_FILE=\"boot/mips/loongson/fuloong2f.S\" -I. -I../../../grub-core -I.. -I../../.. -I../../../include -I../include -I../../../grub-core/lib/libgcrypt-grub/src/     -g -DGRUB_FILE=\"boot/mips/loongson/fuloong2f.S\" -I. -I../../../grub-core -I.. -I../../.. -I../../../include -I../include -I../../../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=1     -c -o boot/mips/loongson/fwstart_fuloong2f_image-fuloong2f.o `test -f 'boot/mips/loongson/fuloong2f.S' || echo '../../../grub-core/'`boot/mips/loongson/fuloong2f.S
> | if test x0 = x1; then   ../grub-macho2img none_decompress.image none_decompress.img; else   objcopy  -O binary  --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version none_decompress.image none_decompress.img; fi
> | BFD: Warning: Writing section `.text' to huge (ie negative) file offset 0x7fcfff48.
> | BFD: Warning: Writing section `.data' to huge (ie negative) file offset 0x7fd003d8.
> | objcopy:none_decompress.img[.text]: File truncated
> | make[5]: *** [none_decompress.img] Error 1
> | make[5]: *** Waiting for unfinished jobs....
> | Makefile:41812: recipe for target 'none_decompress.img' failed

Looks like
https://lists.gnu.org/archive/html/grub-devel/2014-08/msg00021.html (and
https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00037.html) was
actually a general mips* problem triggered by new binutils.  Chasing
this down on grub-devel.

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list