[U-Boot] Building qemu-x86_64_defconfig fails: u-boot-spl-nodtb.bin of 4, 293, 642, 704 bytes

Bin Meng bmeng.cn at gmail.com
Sun Sep 10 10:52:38 UTC 2017


Hi Heinrich,

On Sun, Sep 10, 2017 at 12:36 PM, Heinrich Schuchardt
<xypron.glpk at gmx.de> wrote:
> export BUILD_ROM=y
> make mrproper
> make qemu-x86_64_defconfig
> make
>
> results in a file u-boot-spl-nodtb.bin of 4,293,642,704 bytes
> for git HEAD.
>
> The problematic statement is
>
> objcopy -O binary -R .start16 -R .resetvec \
>   spl/u-boot-spl spl/u-boot-spl-nodtb.bin
>
> spl/u-boot-spl has 2,385,168 bytes.
>
> My system is Debian Stretch x86_64.
> GNU objcopy (GNU Binutils for Debian) 2.28
>
> objdump -h spl/u-boot-spl
> shows that the section .start16 and .resetvec exist.
>
> I have created an upstream bug report
> https://sourceware.org/bugzilla/show_bug.cgi?id=22120
>
>

I cannot reproduce this on Ubuntu 16.04.

$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

$ objcopy --version
GNU objcopy (GNU Binutils for Ubuntu) 2.26.1

Regards,
Bin


More information about the U-Boot mailing list